Bladeren bron

update config

reghao 3 jaren geleden
bovenliggende
commit
e23c7986c8
3 gewijzigde bestanden met toevoegingen van 6 en 5 verwijderingen
  1. 2 3
      .env.development
  2. 2 1
      .env.production
  3. 2 1
      .env.staging

+ 2 - 3
.env.development

@@ -2,6 +2,5 @@
 ENV = 'development'
 
 # base api
-#VUE_APP_BASE_API = 'http://localhost:8000'
-VUE_APP_BASE_API = 'http://api.reghao.cn'
-FILE_SERVER = 'http://file.reghao.cn
+VUE_APP_BASE_API = '//api.reghao.cn'
+FILE_SERVER = '//file.reghao.cn

+ 2 - 1
.env.production

@@ -2,4 +2,5 @@
 ENV = 'production'
 
 # base api
-VUE_APP_BASE_API = 'https://api.reghao.cn'
+VUE_APP_BASE_API = '//api.reghao.cn'
+FILE_SERVER = '//file.reghao.cn

+ 2 - 1
.env.staging

@@ -4,4 +4,5 @@
 ENV = 'staging'
 
 # base api
-VUE_APP_BASE_API = 'http://api.reghao.cn'
+VUE_APP_BASE_API = '//api.reghao.cn'
+FILE_SERVER = '//file.reghao.cn