修改了vite配置

main
mula.liu 2025-12-23 18:17:26 +08:00
parent 1ab6de4912
commit c8caa0d21a
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ server {
# API 反向代理(代理到后端服务)
location /api/ {
proxy_pass http://backend:8000/;
proxy_pass http://backend:8000/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;