Skip to content

Commit a9e467a

Browse files
committed
fix(nix): disable CORS
1 parent 8c6146b commit a9e467a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
listen 80;
5454
5555
location / {
56+
add_header Access-Control-Allow-Origin *;
57+
5658
limit_req zone=api burst=50 nodelay;
5759
proxy_pass http://localhost:8080/;
5860
}

0 commit comments

Comments
 (0)