French locale (#236)

This commit is contained in:
Luke Vella 2022-07-22 11:07:03 +01:00 committed by GitHub
parent 9938fa5c58
commit cbc112d4b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 275 additions and 94 deletions

View file

@ -1,6 +1,6 @@
import { NextRequest, NextResponse } from "next/server";
const supportedLocales = ["en", "de"];
const supportedLocales = ["en", "de", "fr"];
export function middleware({ headers, cookies, nextUrl }: NextRequest) {
const locale =