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
49ea26ddbf
commit
22e2844047
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "front-next",
|
||||
"version": "4.0.1",
|
||||
"version": "5.0.1",
|
||||
"scripts": {
|
||||
"dev": "vite --host",
|
||||
"build": "vite build",
|
||||
|
@ -13,7 +13,7 @@ const baseUrl: String = (function () {
|
||||
if (proxy) {
|
||||
storage.set("proxy", proxy);
|
||||
} else {
|
||||
proxy = storage.get("proxy") || "pro";
|
||||
proxy = storage.get("proxy") || "dev";
|
||||
}
|
||||
|
||||
return isDev ? `/${proxy}` : `/api`;
|
||||
|
Loading…
Reference in New Issue
Block a user