Kaynağa Gözat

调整代理端口

code4eat 1 yıl önce
ebeveyn
işleme
acbe52001e
3 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 1 0
      .env
  2. 1 1
      .umirc.ts
  3. 1 1
      package.json

+ 1 - 0
.env

@@ -0,0 +1 @@
+PORT=8005

+ 1 - 1
.umirc.ts

@@ -2,7 +2,7 @@
  * @Author: code4eat awesomedema@gmail.com
  * @Date: 2022-12-14 14:14:32
  * @LastEditors: code4eat awesomedema@gmail.com
- * @LastEditTime: 2023-11-30 17:43:39
+ * @LastEditTime: 2023-12-04 14:56:41
  * @FilePath: /BudgetManaSystem/.umirc.ts
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
   "author": "kcim",
   "scripts": {
     "build": "max build",
-    "dev": "cross-env REACT_APP_ENV=dev MOCK=none max dev",
+    "dev": "cross-env REACT_APP_ENV=dev MOCK=none max dev PORT=8005",
     "format": "prettier --cache --write .",
     "postinstall": "max setup",
     "mock": "max dev",