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 eba7174 commit 9d4fd52Copy full SHA for 9d4fd52
src/hooks.server.js
@@ -23,7 +23,7 @@ export async function handle({ event, resolve }) {
23
// reach this point if a not existing file is requested. That could happen after an update
24
// if the browser is loading a cached page that references to outdated contents.
25
// In that case we can just skip the whole function.
26
- await resolve(event);
+ return await resolve(event);
27
}
28
29
if (event.url.pathname.startsWith('/api')) {
0 commit comments