diff --git a/src/views/LeftView.vue b/src/views/LeftView.vue index 7ba19c6..60032b9 100644 --- a/src/views/LeftView.vue +++ b/src/views/LeftView.vue @@ -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) diff --git a/vite.config.js b/vite.config.js index 74b87ad..8ffcabe 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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,