张延森 il y a 3 ans
Parent
révision
82c2d5ea2f
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4
    1
      config/config.js

+ 4
- 1
config/config.js Voir le fichier

@@ -8,9 +8,12 @@ const { REACT_APP_ENV } = process.env;
8 8
 
9 9
 export default defineConfig({
10 10
   define: {
11
-    API_BASE: 'http://sgl-v2.njyunzhi.com',
11
+    API_BASE: 'http://machine.njyunzhi.com',
12 12
   },
13 13
   hash: true,
14
+  history: {
15
+    type: 'hash',
16
+  },
14 17
   antd: {},
15 18
   dva: {
16 19
     hmr: true,