securityos/node_modules/next/dist/esm/client/normalize-locale-path.js

11 lines
339 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
export const normalizeLocalePath = (pathname, locales)=>{
if (process.env.__NEXT_I18N_SUPPORT) {
return require("../shared/lib/i18n/normalize-locale-path").normalizeLocalePath(pathname, locales);
}
return {
pathname,
detectedLocale: undefined
};
};
//# sourceMappingURL=normalize-locale-path.js.map