From c20fb362068981eedd9f01e2878c7acb73a3f93c Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Wed, 16 Nov 2022 10:37:46 +0300 Subject: [PATCH] cors-fix --- nginx.conf.sigil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf.sigil b/nginx.conf.sigil index 5a74d410..37e97528 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -5,7 +5,7 @@ {{ $upstream_port := index $port_map_list 2 }} map $http_origin $allow_origin { - ~^https?:\/\/((.*\.)?localhost(:\d+)?|discoursio-webapp.*\.vercel\.app|(.*\.)?discours\.io(:\d+)?)$ $http_origin; + ~^https?:\/\/((.*\.)?localhost(:\d+)?|discoursio-webapp-*\.vercel\.app|(.*\.)?discours\.io(:\d+)?)$ $http_origin; default ""; }