Skip to content

Commit 9d4fd52

Browse files
committed
Added missing return
1 parent eba7174 commit 9d4fd52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks.server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export async function handle({ event, resolve }) {
2323
// reach this point if a not existing file is requested. That could happen after an update
2424
// if the browser is loading a cached page that references to outdated contents.
2525
// In that case we can just skip the whole function.
26-
await resolve(event);
26+
return await resolve(event);
2727
}
2828

2929
if (event.url.pathname.startsWith('/api')) {

0 commit comments

Comments
 (0)