修改默认代理

This commit is contained in:
icssoa 2022-04-07 15:08:40 +08:00
parent 49ea26ddbf
commit 22e2844047
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "front-next",
"version": "4.0.1",
"version": "5.0.1",
"scripts": {
"dev": "vite --host",
"build": "vite build",

View File

@ -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`;