@ticketmaster/allure-mock
Advanced tools
Comparing version 5.5.35-alpha.4 to 5.5.35-alpha.5
{ | ||
"name": "@ticketmaster/allure-mock", | ||
"version": "5.5.35-alpha.4", | ||
"version": "5.5.35-alpha.5", | ||
"description": "Allure common mocking solution library", | ||
@@ -25,3 +25,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@ticketmaster/allure-command": "^5.5.35-alpha.4" | ||
"@ticketmaster/allure-command": "^5.5.35-alpha.5" | ||
}, | ||
@@ -28,0 +28,0 @@ "publishConfig": { |
@@ -37,7 +37,5 @@ # @ticketmaster/allure-mock | ||
export function middleware(request: NextRequest) { | ||
const defaultLocale = request.headers.get("NEXT_LOCALE") || DEFAULT_LOCALE; | ||
const handleI18nRouting = createIntlMiddleware({ | ||
locales: AVAILABLE_LOCALES, | ||
defaultLocale, | ||
defaultLocale: DEFAULT_LOCALE, | ||
localeDetection: true, | ||
@@ -48,4 +46,2 @@ }); | ||
response.headers.set("NEXT_LOCALE", defaultLocale); | ||
export const config = { | ||
@@ -52,0 +48,0 @@ matcher: [ |
41093
80