chore: Update proxy configuration target
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
4410362aea
commit
5234bfa7d6
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user