We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63a65c2 commit 96d3b53Copy full SHA for 96d3b53
2 files changed
src/app/[locale]/layout.tsx
@@ -29,7 +29,7 @@ export async function generateMetadata({
29
metadataBase: new URL(siteUrl),
30
title: {
31
default: t("title"),
32
- template: `%s · ${t("title")}`,
+ template: `%s | ${t("title")}`,
33
},
34
description: t("description"),
35
alternates: {
src/proxy.ts
@@ -6,5 +6,7 @@ import { routing } from "./i18n/routing";
6
export default createMiddleware(routing);
7
8
export const config = {
9
- matcher: "/((?!api|_next|_vercel|.*\\..*).*)",
+ // `icon` is the root metadata route (`app/icon.tsx`); without this exclusion the
10
+ // locale proxy redirects `/icon` into `[locale]`, breaking the favicon.
11
+ matcher: "/((?!api|_next|_vercel|icon|.*\\..*).*)",
12
};
0 commit comments