commit 2c35c22b6bc1b6febc00659d82ce537332a13fed
parent bf8b3f134fb6b3fee32d3a37b159e3a5408bb01e
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Sat, 13 Dec 2025 20:13:47 +0900
== to =
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nginx.conf b/nginx.conf
@@ -15,7 +15,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
client_max_body_size 50M;
- if ($http_origin == "https://synapse-admin-api.pages.dev") {
+ if ($http_origin = "https://synapse-admin-api.pages.dev") {
add_header Access-Control-Allow-Origin https://synapse-admin-api.pages.dev;
add_header Access-Control-Allow-Methods GET, POST, OPTIONS;
add_header Access-Control-Allow-Headers Content-Type, Authorization;