修复了一些问题
This commit is contained in:
@@ -14,19 +14,19 @@ export default defineConfig({
|
||||
port: 3000,
|
||||
proxy: {
|
||||
'/api': {
|
||||
// target: 'http://localhost:12080',
|
||||
target: 'https://g-ws.nailaoyun.cn',
|
||||
target: 'http://localhost:12080',
|
||||
// target: 'https://g-ws.nailaoyun.cn',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/ws': {
|
||||
// target: 'ws://localhost:12080',
|
||||
target: 'wss://g-ws.nailaoyun.cn',
|
||||
target: 'ws://localhost:12080',
|
||||
// target: 'wss://g-ws.nailaoyun.cn',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/upload': {
|
||||
// target: 'http://localhost:12080',
|
||||
target: 'https://g-ws.nailaoyun.cn',
|
||||
target: 'http://localhost:12080',
|
||||
// target: 'https://g-ws.nailaoyun.cn',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user