Skip to content

Commit

Permalink
Merge pull request #134 from CriticalMoments/sitemap2
Browse files Browse the repository at this point in the history
prerender sitemap
  • Loading branch information
scosman authored Aug 29, 2024
2 parents 3cc2076 + 14f5088 commit b3d0f7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/(marketing)/sitemap.xml/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import type { RequestHandler } from "@sveltejs/kit"
import * as sitemap from "super-sitemap"
import { WebsiteBaseUrl } from "../../../config"

export const prerender = true

export const GET: RequestHandler = async () => {
return await sitemap.response({
origin: WebsiteBaseUrl,
Expand Down

0 comments on commit b3d0f7b

Please sign in to comment.