generated from common/vue-front
IP调整
This commit is contained in:
parent
57f7d89817
commit
8d45f910c1
@ -104,7 +104,7 @@ const popperStyle = ref({
|
||||
})
|
||||
const editorRef = ref(null)
|
||||
const chatRef = ref(null)
|
||||
const wsUrl = ref('ws://192.168.50.101:6066')
|
||||
const wsUrl = ref('ws://117.62.238.129:6066')
|
||||
const wsIsError = ref(false)
|
||||
const wsIsClose = ref(true)
|
||||
const ws = ref(null)
|
||||
|
@ -23,15 +23,15 @@ export default defineConfig(({ mode, command }) => {
|
||||
host: true,
|
||||
proxy: {
|
||||
'/api': {
|
||||
// target: 'http://192.168.50.101:10050',
|
||||
target: 'http://192.168.50.101:10050',
|
||||
// target: 'http://117.62.238.129:10050',
|
||||
target: 'http://117.62.238.129:10050',
|
||||
// target: 'http://10.70.132.177:11002',
|
||||
ws: false,
|
||||
changeOrigin: true
|
||||
},
|
||||
'/poll': {
|
||||
// target: 'http://192.168.50.101:6066',
|
||||
target: 'http://192.168.50.101:6066',
|
||||
// target: 'http://117.62.238.129:6066',
|
||||
target: 'http://117.62.238.129:6066',
|
||||
// target: 'http://10.70.132.177:11002',
|
||||
pathRewrite: { '^/poll': '' },
|
||||
ws: false,
|
||||
|
Loading…
Reference in New Issue
Block a user