Skip to content

Commit 97fc4b8

Browse files
committed
Fix
1 parent e2f7ee2 commit 97fc4b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/api/src/app/helper/allow-all-origins-hook-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const allowAllOriginsHookHandler: onRequestHookHandler = (
2020
void reply.header('Access-Control-Allow-Credentials', 'true');
2121

2222
if (request.method === 'OPTIONS') {
23-
void reply.status(204).send();
23+
return void reply.status(204).send();
2424
}
2525

2626
done();

0 commit comments

Comments
 (0)