Disable prerender
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Alessio Davoli 2024-03-06 00:18:15 +01:00
parent c80eb89db7
commit 7c6e7e0bb4
3 changed files with 5 additions and 11 deletions

View file

@ -1,10 +1,7 @@
export async function handleError({ error, event, status, message }) {
const errorId = crypto.randomUUID();
export async function handleError({ error, message }) {
console.error(error);
// console.error(event)
// console.error(status)
return {
errorId,
message
};
}

View file

@ -7,13 +7,10 @@ export async function handleFetch({ request, fetch }) {
return fetch(request);
}
export async function handleError({ error, event, status, message }) {
const errorId = crypto.randomUUID();
export async function handleError({ error, message }) {
console.error(error);
// console.error(event)
// console.error(status)
return {
errorId,
message
};
}

View file

@ -1,3 +1,3 @@
export const prerender = true;
export const prerender = false;
export const ssr = true;
export const csr = true;