From 22e2844047f8425d63afb7e4bbe51d75d1a98c43 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Thu, 7 Apr 2022 15:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E4=BB=A3?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/cool/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`;