Skip to content

Commit

Permalink
fix(cors): remove Access-Control-Allow-Origin header (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirGer authored Mar 16, 2024
1 parent ef1d8fe commit a7ed13d
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 62 deletions.
2 changes: 1 addition & 1 deletion charts/brokencrystals/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: |
Benchmark application that uses modern technologies and implements a set of
common security vulnerabilities
type: application
version: 0.0.59
version: 0.0.60
keywords:
- brokencrystals
- brkn
3 changes: 1 addition & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"web-vitals": "^0.2.4",
"xmldom": "^0.6.0",
"react-scripts": "4.0.3"
"xmldom": "^0.6.0"
},
"scripts": {
"cypress:run": "cypress open --browser chrome",
Expand Down
173 changes: 119 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ async function bootstrap() {
.useGlobalInterceptors(new HeadersConfiguratorInterceptor())
.useGlobalFilters(new GlobalExceptionFilter(httpAdapter));

app.enableCors({
origin: '*',
preflightContinue: true,
});

const options = new DocumentBuilder()
.setTitle('Broken Crystals')
.setDescription(
Expand Down

0 comments on commit a7ed13d

Please sign in to comment.