|
|
@@ -31,8 +31,8 @@ export default defineConfig(({ mode, command }) => {
|
|
|
proxy: {
|
|
|
// https://cn.vitejs.dev/config/#server-proxy
|
|
|
'/dev-api': {
|
|
|
- target: 'http://localhost:8900/background',
|
|
|
- // target: 'http://localhost:18902',
|
|
|
+ // target: 'http://localhost:8900/background',
|
|
|
+ target: 'http://localhost:18902',
|
|
|
// target: 'http://42.48.99.5:8900/background',
|
|
|
changeOrigin: true,
|
|
|
rewrite: (p) => p.replace(/^\/dev-api/, '')
|