修复了一些问题

This commit is contained in:
李琦
2026-07-08 08:17:58 +08:00
parent 68dba6bec9
commit f4d7493114
18 changed files with 507 additions and 107 deletions

View File

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