This commit is contained in:
2022-09-07 14:34:42 +08:00
parent ae74847c93
commit bb85d109e4
5 changed files with 309 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
target: 'http://192.168.31.162:1618',
target: 'http://120.26.107.74:1618',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
}