🎨修复
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
coward 2024-08-20 16:45:35 +08:00
parent 88b23fce6a
commit cb7d1adc95
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
VITE_PUBLIC_PATH = '/'
# 是否启用MOCK
VITE_USE_MOCK = true
VITE_USE_MOCK = false
# base api
VITE_BASE_API = '/api'

View File

@ -14,7 +14,7 @@ server {
# 若新增后端路由前缀注意在此处添加(|新增)
location ^~ /api/ {
proxy_pass http://wireguard-srv:6687/;
proxy_pass http://wireguard-srv:6687;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;