We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51c9bc commit 80475eeCopy full SHA for 80475ee
frontend/user/src/routes/sitemap.xml/+server.ts
@@ -11,7 +11,7 @@ interface Projects {
11
}[]
12
}
13
14
-export async function GET() {
+export async function GET({ fetch }) {
15
const query = `
16
query projects {
17
projects {
@@ -27,7 +27,7 @@ export async function GET() {
27
28
`;
29
30
- const projects: Projects[] = (await graphql(query, {})).projects;
+ const projects: Projects[] = (await graphql(query, {}, fetch)).projects;
31
const baseURL = 'https://vectorinterior.design/';
32
const langs = ['en', 'es']
33
return new Response(
0 commit comments