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
0684086f6d
commit
2c4d12f3ce
@ -3,7 +3,7 @@ import { proxy } from "./proxy";
|
||||
|
||||
export default {
|
||||
// 根地址
|
||||
host: proxy["/dev"],
|
||||
host: proxy["/dev"].target,
|
||||
|
||||
// 请求地址
|
||||
get baseUrl() {
|
||||
|
@ -2,7 +2,7 @@ import { proxy } from "./proxy";
|
||||
|
||||
export default {
|
||||
// 根地址
|
||||
host: proxy["/prod"],
|
||||
host: proxy["/prod"].target,
|
||||
|
||||
// 请求地址
|
||||
baseUrl: "/api"
|
||||
|
Loading…
Reference in New Issue
Block a user