mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
完善
This commit is contained in:
parent
9fa1c73485
commit
ca6d5365dd
@ -17,8 +17,7 @@ export default (): UserConfig => {
|
|||||||
// 请求代理地址
|
// 请求代理地址
|
||||||
const proxy = {
|
const proxy = {
|
||||||
"/dev": {
|
"/dev": {
|
||||||
// target: "http://127.0.0.1:8001",
|
target: "http://127.0.0.1:8001",
|
||||||
target: "http://rjjgeibqc2.localtunnel-cool.cool-js.cloud",
|
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path: string) => path.replace(/^\/dev/, "")
|
rewrite: (path: string) => path.replace(/^\/dev/, "")
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user