This commit is contained in:
王一嘉
2025-07-17 17:17:34 +08:00
parent b4cba3a22d
commit d0342c06a9
8 changed files with 36 additions and 7 deletions

View File

@@ -44,7 +44,8 @@ export default defineConfig({
'@': '/src'
}
}, server: {
port: 9050, proxy: {
host: '0.0.0.0',
proxy: {
'/baseApi': {
target: 'http://192.168.1.105', changeOrigin: true, rewrite: (path) => path.replace(/^\/baseApi/, ''),
}