Skip to content

Commit 4258b64

Browse files
authored
Create cors.conf
1 parent 432dd07 commit 4258b64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎config/nginx/cors.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
add_header Access-Control-Allow-Origin "*";
2+
add_header Access-Control-Allow-Credentials true;
3+
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
4+
add_header Access-Control-Allow-Headers 'Authorization, Content-Type';

0 commit comments

Comments
 (0)