Skip to content

Commit 82f7700

Browse files
author
uid10804
committed
refactor(server): remove unneeded verb option for cors
1 parent 4fc2269 commit 82f7700

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/server/src/app/core.app.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ export class CoreApp {
3434

3535
async setup(): Promise<void> {
3636
this.server.use(cors());
37-
this.server.options('*', cors());
38-
3937
await this.setupStorage();
4038
const json = await this.getJSON();
4139
const isValid = this.validateJSON(json);

0 commit comments

Comments
 (0)