diff --git a/package.json b/package.json index 2554d91..4a4996e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "front-next", - "version": "4.0.1", + "version": "5.0.1", "scripts": { "dev": "vite --host", "build": "vite build", diff --git a/src/cool/config.ts b/src/cool/config.ts index 893ca3a..e8b4a6d 100644 --- a/src/cool/config.ts +++ b/src/cool/config.ts @@ -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`;