Skip to content

Commit

Permalink
fix: Release please?
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Jul 11, 2024
1 parent 7976376 commit b352c10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next-intl/src/shared/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export function hasPathnamePrefixed(prefix: string, pathname: string) {

function hasTrailingSlash() {
try {
// Provided via `env` setting in `next.config.js` via the plugin
return process.env._next_intl_trailing_slash === 'true';
} catch (e) {
return false;
Expand Down

0 comments on commit b352c10

Please sign in to comment.