This commit is contained in:
nora 2022-09-03 16:27:30 +02:00
parent d6f6729c83
commit fac16bc669

View file

@ -52,7 +52,7 @@ http {
location / { location / {
if ($request_method = 'OPTIONS') { if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' 'cors-school.nilstrieb.dev'; add_header 'Access-Control-Allow-Origin' 'https://cors-school.nilstrieb.dev';
add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Credentials' 'true';
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, PUT, OPTIONS'; add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, PUT, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'token,refresh-token'; add_header 'Access-Control-Allow-Headers' 'token,refresh-token';