Use sveltekit fetch
This commit is contained in:
parent
9d940a29c3
commit
eb69f00c26
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
export const prerender = false;
|
export const prerender = false;
|
||||||
export const ssr = true;
|
export const ssr = true;
|
||||||
export const csr = true;
|
export const csr = true;
|
||||||
|
|
||||||
|
export async function load({ fetch }) {
|
||||||
|
window.fetch = fetch;
|
||||||
|
}
|
Loading…
Reference in a new issue