Browse Source

ip修改

master
suyanyan 5 days ago
parent
commit
ca2ce5327c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      SafeCampus.WEB/.env.development

+ 2
- 2
SafeCampus.WEB/.env.development View File

@@ -16,12 +16,12 @@ VITE_PWA = false


# 开发环境接口地址 # 开发环境接口地址
# VITE_API_URL = http://192.168.10.186:5566 # VITE_API_URL = http://192.168.10.186:5566
VITE_API_URL = http://192.168.10.51:8003
VITE_API_URL = http://192.168.10.186:8003


# 否开启代理 # 否开启代理
VITE_HTTP_PROXY = true VITE_HTTP_PROXY = true


# 开发环境跨域代理,支持配置多个 # 开发环境跨域代理,支持配置多个
# VITE_PROXY = [["/api","http://192.168.10.186:5566","/Files"]] # VITE_PROXY = [["/api","http://192.168.10.186:5566","/Files"]]
VITE_PROXY = [["/api","http://192.168.10.51:8003"],["/Files","http://192.168.10.51:8003/Files"]]
VITE_PROXY = [["/api","http://192.168.10.186:8003"],["/Files","http://192.168.10.186:8003/Files"]]



Loading…
Cancel
Save