commit 172d8ac929e942efbf388c6780bf7e47b390b4df
parent ecebd4cfdbca33be117020f2916cd4755b6d2974
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Sat, 13 Dec 2025 20:48:49 +0900
add allow methods
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/nginx.conf b/nginx.conf
@@ -16,5 +16,6 @@ server {
client_max_body_size 50M;
add_header 'Access-Control-Allow-Origin' 'https://synapse-admin-api.pages.dev';
add_header 'Access-Control-Allow-Credentials' 'true';
+ add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
}
}