Skip to content

Commit 9fb042d

Browse files
authored
Merge pull request #292 from dinesh-aot/COMP-394
Comp 394
2 parents 17dea04 + 1c2d933 commit 9fb042d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compliance-web/nginx/nginx.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ http {
4545
# add_header X-XSS-Protection 1;
4646
# add_header X-Frame-Options SAMEORIGIN;
4747
add_header Access-Control-Allow-Origin *;
48-
add_header Access-Control-Allow-Methods GET, POST, OPTIONS;
49-
add_header Access-Control-Allow-Headers Content-Type, Authorization;
48+
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS, PUT, DELETE';
5049

5150
listen 8080;
5251
server_name _;

0 commit comments

Comments
 (0)