We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8247d1 commit dd56dddCopy full SHA for dd56ddd
src/routes/sitemap.xml/+server.ts
@@ -7,11 +7,16 @@ export const GET: RequestHandler = async ({ request }) => {
7
const urls: string[] = [];
8
const origin = new URL(request.url).origin;
9
10
+ urls.push(origin + '/');
11
+
12
+ urls.push(origin + '/examples/');
13
for (const section of exampleToc) {
14
for (const [path] of Object.entries(section.items)) {
15
urls.push(origin + path);
16
}
17
18
19
+ urls.push(origin + '/docs/components/');
20
for (const section of componentToc) {
21
22
0 commit comments