Merge branch 'main' into personal/heshunme/authentication
This commit is contained in:
commit
69ee4e94ce
@ -16,5 +16,14 @@ export default defineConfig({
|
||||
'@router': path.resolve(__dirname, 'src/router'),
|
||||
'@services': path.resolve(__dirname, 'src/services'),
|
||||
}
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user