mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-18 18:41:51 +02:00
Add italian locale (#276)
This commit is contained in:
parent
2648be9b0a
commit
49f31d4904
8 changed files with 201 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
import languageParser from "accept-language-parser";
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
const supportedLocales = ["en", "es", "de", "fr", "sv", "pt-BR"];
|
||||
const supportedLocales = ["en", "es", "de", "fr", "it", "sv", "pt-BR"];
|
||||
|
||||
export function middleware({ headers, cookies, nextUrl }: NextRequest) {
|
||||
const newUrl = nextUrl.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue