Add access control headers to reponse

This commit is contained in:
Georges-Antoine Assi
2023-09-17 12:13:20 -04:00
parent 40c3446294
commit c92d8b620b

View File

@@ -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