Skip to content

Commit 31dbaa3

Browse files
authored
Merge pull request #237 from pharindoko/fix/222-cors-issue
refactor(server): remove unneeded verb option for cors
2 parents 48531cb + 82f7700 commit 31dbaa3

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)