default url prefix

This commit is contained in:
cxc
2023-02-13 17:29:41 +08:00
parent 730a93c4d3
commit f4f1101009
3 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,7 @@ export default defineConfig({
server: {
proxy: {
"/dev-api": {
target: "http://192.168.110.10:1618",
target: "http://118.195.192.58:1618",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, "")
}