Skip to content

Commit eed07e9

Browse files
committed
Added header to the http server for api requests from the web application
1 parent 1181b31 commit eed07e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nginx.conf

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ http {
88
server_name localhost;
99

1010
location / {
11+
add_header Access-Control-Allow-Origin *;
1112
fastcgi_pass 127.0.0.1:8000;
1213

1314
fastcgi_param GATEWAY_INTERFACE CGI/1.1;

0 commit comments

Comments
 (0)