diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 7a02815..f6196fa 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -10,7 +10,7 @@ const body = Geist({ subsets: ["latin"], variable: "--font-body" }); const mono = Geist_Mono({ subsets: ["latin"], variable: "--font-mono" }); export const metadata: Metadata = { - metadataBase: new URL("https://usefixmap.vercel.app"), + metadataBase: new URL("https://fixmap.aryam.me"), title: { default: "FixMap — Tell AI coding tools which files to check", template: "%s | FixMap" }, description: "Describe what is broken. FixMap tells AI coding tools which files to open, which tests to run, and what other code to review.", diff --git a/apps/web/app/robots.ts b/apps/web/app/robots.ts index 09c64d9..a012f5d 100644 --- a/apps/web/app/robots.ts +++ b/apps/web/app/robots.ts @@ -1,14 +1,11 @@ import type { MetadataRoute } from "next"; -const base = "https://usefixmap.vercel.app"; +const base = "https://fixmap.aryam.me"; -// The layout's `robots: { index: true, follow: true }` metadata only emits a per-page meta -// tag; it never produces the file crawlers request first, so /robots.txt returned a 404 and -// the sitemap went unadvertised. export default function robots(): MetadataRoute.Robots { return { rules: [{ userAgent: "*", allow: "/" }], sitemap: `${base}/sitemap.xml`, - host: base + host: base, }; } diff --git a/apps/web/app/sitemap.ts b/apps/web/app/sitemap.ts index da58ddb..2edf745 100644 --- a/apps/web/app/sitemap.ts +++ b/apps/web/app/sitemap.ts @@ -1,9 +1,9 @@ import type { MetadataRoute } from "next"; -const base = "https://usefixmap.vercel.app"; +const base = "https://fixmap.aryam.me"; export default function sitemap(): MetadataRoute.Sitemap { return ["", "/product", "/use-cases", "/demo", "/evidence", "/changelog", "/get-started", "/docs"].map((path) => ({ - url: `${base}${path}` + url: `${base}${path}`, })); }