|
@@ -18,7 +18,7 @@ export default defineConfig(({ mode, command }) => {
|
|
|
proxy: {
|
|
|
// https://cn.vitejs.dev/config/#server-proxy
|
|
|
'/dev-api': {
|
|
|
- target: 'http://u68b4f5c.natappfree.cc/',
|
|
|
+ target: 'http://localhost:8080',
|
|
|
changeOrigin: true,
|
|
|
rewrite: p => p.replace(/^\/dev-api/, ''),
|
|
|
},
|