Prettify all files

This commit is contained in:
Timothy Armes
2023-07-17 11:49:07 +02:00
parent 95118b32e2
commit d3afc1d1f4
34 changed files with 152 additions and 135 deletions
+5 -5
View File
@@ -1,15 +1,15 @@
import createMiddleware from 'next-intl/middleware';
import createMiddleware from "next-intl/middleware";
export default createMiddleware({
// A list of all locales that are supported
locales: ['fr', 'en'],
locales: ["fr", "en"],
// If this locale is matched, pathnames work without a prefix (e.g. `/tournois`)
defaultLocale: 'fr'
defaultLocale: "fr",
});
export const config = {
// Skip all paths that should not be internationalized. This example skips certain folders
// such as "api", and all files with an extension (e.g. favicon.ico)
matcher: ['/((?!api|_next|robots|.*\\..*).*)']
}
matcher: ["/((?!api|_next|robots|.*\\..*).*)"],
};