mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-19 02:51:49 +02:00
Load locale ondemand + spanish locale (#249)
This commit is contained in:
parent
0f35bd0518
commit
c2aea134ef
30 changed files with 700 additions and 455 deletions
|
@ -1,6 +1,6 @@
|
|||
import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
const supportedLocales = ["en", "de", "fr", "sv"];
|
||||
const supportedLocales = ["en", "es", "de", "fr", "sv"];
|
||||
|
||||
export function middleware({ headers, cookies, nextUrl }: NextRequest) {
|
||||
const locale =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue