fix: set CORS header for api

This commit is contained in:
antebrl
2025-01-19 17:20:48 +00:00
parent 00bb05c71b
commit 540914f411

View File

@@ -35,6 +35,8 @@ http {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header 'Access-Control-Allow-Origin' '*';
}
location /socket.io/ {