Use fixed same-origin API proxy
Verify mini program and deploy preview / verify-deploy (push) Successful in 37s

This commit is contained in:
2026-09-18 22:59:20 +08:00
parent 3dfd887a0c
commit 89787d21e5
5 changed files with 4 additions and 11 deletions
-5
View File
@@ -3,11 +3,6 @@ server {
server_name _;
root /usr/share/nginx/html;
location = /runtime-env.js {
alias /tmp/runtime-env.js;
add_header Cache-Control "no-store";
}
location /api/ {
resolver 127.0.0.11 valid=10s ipv6=off;
set $api_upstream http://pk-lab-api:8000;