This commit is contained in:
huangge1199 2024-05-20 15:16:58 +08:00
parent 57f7d89817
commit 8d45f910c1
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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,