product category

This commit is contained in:
2023-03-17 12:03:42 +08:00
parent b23402fa29
commit c5591c7c3e
6 changed files with 76 additions and 59 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.1.16:1616",
target: "http://192.168.1.5:1616",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ""),
},