fix configs

This commit is contained in:
2024-05-14 21:52:37 +02:00
parent cb6809b2a4
commit 78305e7ca2
10 changed files with 91 additions and 38 deletions

View File

@@ -11,7 +11,15 @@ const config = {
fallback: undefined,
precompress: false,
strict: true
})
}),
prerender: {
handleHttpError: ({ path, referrer, message }) => {
return {
status: 404,
html: `<h1>${message}</h1><p>Path: ${path}</p><p>Referrer: ${referrer}</p>`
};
}
}
}
};