fix: remove sitemap.xml
All checks were successful
Build and Push Backend Image / build (push) Successful in 16s
Build and Push Frontend Image / build (push) Successful in 4m29s

This commit is contained in:
2026-03-08 12:04:50 +01:00
parent af4a11b73c
commit 0a50c3efd8
2 changed files with 1 additions and 22 deletions

View File

@@ -1,19 +0,0 @@
import * as sitemap from "super-sitemap";
import { getArticles, getModels, getVideos } from "$lib/services";
export const GET = async () => {
return await sitemap.response({
origin: "https://sexy.pivoine.art",
excludeRoutePatterns: ["^/signup/verify", "^/password/reset", "^/me", "^/play", "^/tags/.+"],
paramValues: {
"/magazine/[slug]": (await getArticles(fetch)).map((a) => a.slug),
"/models/[slug]": (await getModels(fetch))
.map((a) => a.slug)
.filter((s): s is string => s !== null),
"/videos/[slug]": (await getVideos(fetch)).map((a) => a.slug),
},
defaultChangefreq: "always",
defaultPriority: 0.7,
sort: "alpha", // default is false; 'alpha' sorts all paths alphabetically.
});
};

View File

@@ -1,4 +1,2 @@
User-agent: * User-agent: *
Allow: / Allow: /
Sitemap: https://sexy.pivoine.art/sitemap.xml