--- trunk/docs/app/layout.tsx 2024/08/20 09:29:10 601 +++ trunk/docs/app/layout.tsx 2024/08/20 09:29:23 602 @@ -9,8 +9,12 @@ const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { + metadataBase: new URL((process.env.NEXT_PUBLIC_BASE_DOMAIN?.startsWith("localhost") ? "http" : "https") + "://" + process.env.NEXT_PUBLIC_BASE_DOMAIN!), title: "SudoBot Documentation", description: "A guide to get you started with SudoBot!", + alternates: { + canonical: "./" + }, }; export const viewport: Viewport = {