chore: Update proxy configuration target
All checks were successful
continuous-integration/drone/push Build is passing

Change the production proxy target to a new server endpoint
This commit is contained in:
lixin 2025-01-25 18:15:58 +08:00
parent 4410362aea
commit 5234bfa7d6

View File

@ -6,7 +6,7 @@ export const proxy = {
}, },
"/prod/": { "/prod/": {
target: "https://show.cool-admin.com", target: "http://120.48.5.80:8001",
changeOrigin: true, changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/prod/, "/api") rewrite: (path: string) => path.replace(/^\/prod/, "/api")
} }