mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-21 11:29:20 +08:00
chore: 默认关闭反向代理的 ws 配置
This commit is contained in:
parent
a415ade4c2
commit
0fe2d1fbcf
@ -35,7 +35,8 @@ export default defineConfig(({ mode }) => {
|
||||
proxy: {
|
||||
"/api/v1": {
|
||||
target: "https://mock.mengxuegu.com/mock/63218b5fb4c53348ed2bc212",
|
||||
ws: true,
|
||||
// 是否为 WebSocket
|
||||
ws: false,
|
||||
// 是否允许跨域
|
||||
changeOrigin: true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user