diff --git a/src/app/sitemap.ts b/src/app/sitemap.ts new file mode 100644 index 0000000..fbd33ca --- /dev/null +++ b/src/app/sitemap.ts @@ -0,0 +1,13 @@ +import { MetadataRoute } from "next" +import { env } from "~/env" + +export default function sitemap(): MetadataRoute.Sitemap { + return [ + { + url: env.SITE_URL ?? "http://localhost:3000", + lastModified: new Date(), + changeFrequency: "monthly", + priority: 1, + }, + ] +}