mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Add access control headers to reponse
This commit is contained in:
@@ -40,6 +40,9 @@ http {
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
proxy_redirect off;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Access-Control-Allow-Methods *;
|
||||
add_header Access-Control-Allow-Headers *;
|
||||
}
|
||||
|
||||
# OpenAPI for swagger and redoc
|
||||
|
||||
Reference in New Issue
Block a user