Your descriptive commit message
This commit is contained in:
parent
1b2cdce5bd
commit
867e179996
@ -88,7 +88,7 @@ app.use(ElementPlus, {
|
|||||||
|
|
||||||
app.use(WebSocketPlugin, {
|
app.use(WebSocketPlugin, {
|
||||||
// url: import.meta.env.VITE_WS_URL,
|
// url: import.meta.env.VITE_WS_URL,
|
||||||
url: 'ws://10.148.108.95:13080/ws',
|
url: 'ws://127.0.0.1:13080/ws',
|
||||||
// url: 'ws://10.148.209.5:13080/ws',
|
// url: 'ws://10.148.209.5:13080/ws',
|
||||||
userId: 'your_user_id'
|
userId: 'your_user_id'
|
||||||
});
|
});
|
||||||
|
|||||||
@ -36,7 +36,7 @@ export default defineConfig(({mode, command}) => {
|
|||||||
//赵 http://10.148.108.58:13080
|
//赵 http://10.148.108.58:13080
|
||||||
// dev http://10.148.20.34:13080
|
// dev http://10.148.20.34:13080
|
||||||
// target: command === 'build' ? VITE_API_URL : 'http://10.148.20.34:13080',
|
// target: command === 'build' ? VITE_API_URL : 'http://10.148.20.34:13080',
|
||||||
target: command === 'build' ? VITE_API_URL : 'http://10.148.108.95:13080',
|
target: command === 'build' ? VITE_API_URL : 'http://127.0.0.1:13080',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user