|
|
|
@ -26,7 +26,7 @@ export default defineConfig(({ mode, command }) => {
|
|
|
|
proxy: {
|
|
|
|
proxy: {
|
|
|
|
[env.VITE_APP_BASE_API]: {
|
|
|
|
[env.VITE_APP_BASE_API]: {
|
|
|
|
// target: 'http://192.168.100.100:8080''',
|
|
|
|
// target: 'http://192.168.100.100:8080''',
|
|
|
|
target: 'http://localhost:8080',
|
|
|
|
target: 'http://localhost:9081',
|
|
|
|
changeOrigin: true,
|
|
|
|
changeOrigin: true,
|
|
|
|
ws: true,
|
|
|
|
ws: true,
|
|
|
|
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
|
|
|
|
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
|
|
|
|
|