Skip to content

Commit

Permalink
Merge pull request #2047 from ever-co/fix/lang
Browse files Browse the repository at this point in the history
Fix: remove local lang prefix in route paths
  • Loading branch information
evereq authored Jan 2, 2024
2 parents 7b5a37f + 6716424 commit 0340825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const InviteUserTeamCardSkeleton = () => {
</div>
<div className="w-[330px] px-4 flex space-x-3 items-center">
<div className="opacity-40 w-8 h-8 bg-slate-400 dark:bg-[#353741] rounded-full" />
<Skeleton height={20} width={180} borderRadius={10} className="dark:bg-[#353741]" />
<Skeleton height={20} width={160} borderRadius={10} className="dark:bg-[#353741]" />
</div>
<VerticalSeparator />

Expand Down
2 changes: 1 addition & 1 deletion apps/web/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function middleware(request: NextRequest) {
defaultLocale: 'en',
locales: ['en', 'de', 'ar', 'bg', 'zh', 'nl', 'de', 'he', 'it', 'pl', 'pt', 'ru', 'es', 'fr'],
// pathnames,
localePrefix: undefined
localePrefix: 'never'
});

// Setting cookies on the response
Expand Down

0 comments on commit 0340825

Please sign in to comment.