|
@@ -17,12 +17,16 @@ const proxy = {
|
|
|
rewrite: path => path.replace(/^\/local/, '')
|
|
|
},
|
|
|
'/fusion-xj': {
|
|
|
- target: config.dev ? 'https://xj-mix3d.4dkankan.com/' : 'https://mix3d.4dkankan.com',
|
|
|
+ target: config.dev ? 'http://192.168.0.25' : 'https://192.168.0.25',
|
|
|
changeOrigin: true,
|
|
|
rewrite: path => path.replace(/^\/api/, '')
|
|
|
},
|
|
|
+ '/oss': {
|
|
|
+ target: config.dev ? 'http://192.168.0.25/' : 'https://192.168.0.25',
|
|
|
+ changeOrigin: true,
|
|
|
+ },
|
|
|
'/swkk': {
|
|
|
- target: config.dev ? 'https://test.4dkankan.com' : 'https://www.4dkankan.com',
|
|
|
+ target: config.dev ? 'http://192.168.0.25/swkk' : 'https://www.4dkankan.com',
|
|
|
changeOrigin: true,
|
|
|
rewrite: path => path.replace(/^\/swkk/, '')
|
|
|
},
|