From fac16bc66900c02c4bb8bab0a8f4dc2ce0e83818 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sat, 3 Sep 2022 16:27:30 +0200 Subject: [PATCH] hmm --- nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index e82ed66..0c240f8 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -52,7 +52,7 @@ http { location / { 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-Methods' 'GET, POST, DELETE, PUT, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'token,refresh-token';