update CORS handling
davvalent

davvalent commited on 2023-06-30 03:28:13
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -59,7 +59,7 @@
59 59
   $request_headers = getallheaders();
60 60
   $local_host_referer = (str_contains($request_headers['Referer'], "localhost"))
61 61
     ? "http://localhost"
62
-    : "https://ntnlv.ca";
62
+    : "https://qdmtl.ca";
63 63
   header('Access-Control-Allow-Origin: ' . $local_host_referer);
64 64
 
65 65
     /** Access to Accept header value */
66 66