|
@@ -24,7 +24,7 @@ export default defineApplicationConfig({
|
|
|
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
- target: 'http://127.0.0.1:8000',
|
|
|
+ target: 'http://192.168.6.83:4662',
|
|
|
changeOrigin: false,
|
|
|
ws: true,
|
|
|
|
|
@@ -32,49 +32,49 @@ export default defineApplicationConfig({
|
|
|
|
|
|
|
|
|
|
|
|
- bypass: (req: any, _res: any, _options: any) => {
|
|
|
- req.url = (req as any)?.originalUrl || req.url;
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
'/signin-': {
|
|
|
- target: 'http://127.0.0.1:8000',
|
|
|
+ target: 'http://192.168.6.83:4662',
|
|
|
changeOrigin: false,
|
|
|
ws: true,
|
|
|
rewrite: (path) => path,
|
|
|
|
|
|
- bypass: (req: any, _res: any, _options: any) => {
|
|
|
- req.url = (req as any)?.originalUrl || req.url;
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
'/signalr': {
|
|
|
- target: 'http://127.0.0.1:8000',
|
|
|
+ target: 'http://192.168.6.83:4662',
|
|
|
changeOrigin: false,
|
|
|
ws: true,
|
|
|
rewrite: (path) => path,
|
|
|
|
|
|
- bypass: (req: any, _res: any, _options: any) => {
|
|
|
- req.url = (req as any)?.originalUrl || req.url;
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
'/files': {
|
|
|
- target: 'http://127.0.0.1:8000',
|
|
|
+ target: 'http://192.168.6.83:4662',
|
|
|
changeOrigin: false,
|
|
|
ws: true,
|
|
|
rewrite: (path) => path,
|
|
|
|
|
|
- bypass: (req: any, _res: any, _options: any) => {
|
|
|
- req.url = (req as any)?.originalUrl || req.url;
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
'/upload': {
|
|
|
- target: 'http://127.0.0.1:8000',
|
|
|
+ target: 'http://192.168.6.83:4662',
|
|
|
changeOrigin: false,
|
|
|
ws: true,
|
|
|
rewrite: (path) => path,
|
|
|
|
|
|
- bypass: (req: any, _res: any, _options: any) => {
|
|
|
- req.url = (req as any)?.originalUrl || req.url;
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
},
|
|
|
},
|