Selaa lähdekoodia

前端环境变量文件规范化

pixel 3 vuotta sitten
vanhempi
commit
47346fb902
2 muutettua tiedostoa jossa 8 lisäystä ja 8 poistoa
  1. 4 4
      web/.env.development
  2. 4 4
      web/.env.production

+ 4 - 4
web/.env.development

@@ -1,6 +1,6 @@
 ENV = 'development'
 
-VUE_APP_CLI_PORT = '8080'
-VUE_APP_SERVER_PORT = '8888'
-VUE_APP_BASE_API = '/api'
-VUE_APP_BASE_PATH = 'http://127.0.0.1'
+VUE_APP_CLI_PORT = 8080
+VUE_APP_SERVER_PORT = 8888
+VUE_APP_BASE_API = /api
+VUE_APP_BASE_PATH = http://127.0.0.1

+ 4 - 4
web/.env.production

@@ -1,7 +1,7 @@
 ENV = 'production'
 
-VUE_APP_CLI_PORT = '8080'
-VUE_APP_SERVER_PORT = '8888'
-VUE_APP_BASE_API = '/api'
+VUE_APP_CLI_PORT = 8080
+VUE_APP_SERVER_PORT = 8888
+VUE_APP_BASE_API = /api
 #下方修改为你的线上ip
-VUE_APP_BASE_PATH = 'http://8.141.61.63' 
+VUE_APP_BASE_PATH = http://8.141.61.63