Skip to content

Commit

Permalink
test: do not localize data requests
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Jul 26, 2024
1 parent 1f99af4 commit e1c9fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edge-runtime/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const addLocale = (path: string, locale?: string) => {
path.toLowerCase() !== `/${locale.toLowerCase()}` &&
!path.toLowerCase().startsWith(`/${locale.toLowerCase()}/`) &&
!path.startsWith(`/api/`) &&
!path.startsWith(`/_next/static/`)
!path.startsWith(`/_next/`)
) {
return `/${locale}${path}`
}
Expand Down

0 comments on commit e1c9fb7

Please sign in to comment.