Skip to content

Commit

Permalink
Add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcginnes committed Feb 3, 2024
1 parent c8d7618 commit 3f58e89
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -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,
},
]
}

0 comments on commit 3f58e89

Please sign in to comment.