+1
-1
@@ -92,7 +92,7 @@ export default defineConfig(({ command, mode }: ConfigEnv): UserConfig => {
|
||||
},
|
||||
server: {
|
||||
host: "localhost",
|
||||
port: 8079,
|
||||
port: 8078,
|
||||
proxy: {
|
||||
// dev 正式模式:serviceHost 为空(同源相对路径 /api/...),经此代理转发到本地后端
|
||||
// (后端 CAS 过滤器对 /api/* 不回 CORS 头,浏览器直连会被拦,必须同源代理)
|
||||
|
||||
Reference in New Issue
Block a user