diff --git a/.env.development b/.env.development index fa254a7..642f552 100644 --- a/.env.development +++ b/.env.development @@ -6,9 +6,10 @@ ENV = 'development' # 云坤地图/开发环境 # VUE_APP_BASE_API = 'http://192.168.0.91/gps-web/api' -# VUE_APP_BASE_API = 'http://39.101.188.84:9066' +# VUE_APP_BASE_API = 'http://39.101.188.84:9066' "https://www.jichuanglanhai.com:88/3dtiles/yunkun/tileset.json" VUE_APP_BASE_API = '' VUE_APP_BASE_API2 = '/map' +VUE_APP_BASE_API3='/3dtiles' VUE_APP_BASE_API_YUNKUN = 'http://192.168.0.91/gps-web/api' # 路由懒加载 diff --git a/.env.production b/.env.production index 78489f3..630deb3 100644 --- a/.env.production +++ b/.env.production @@ -4,7 +4,11 @@ VUE_APP_TITLE = 云坤地图 # 生产环境配置 ENV = 'production' -# 云坤地图/生产环境 -VUE_APP_BASE_API = 'http://192.168.0.77:9066' +# 自己写的接口 +VUE_APP_BASE_API = 'http://192.168.0.77/api' +# 离线底图 VUE_APP_BASE_API2 = 'http://192.168.0.77/map' +# 3D白膜 +VUE_APP_BASE_API3='http://192.168.0.77/3dtiles' +# 押运公司接口 VUE_APP_BASE_API_YUNKUN = 'http://192.168.0.91/gps-web/api' diff --git a/public/index.html b/public/index.html index a7e3b62..0bb5a3a 100644 --- a/public/index.html +++ b/public/index.html @@ -20,12 +20,13 @@ + - <% if (process.env.NODE_ENV === 'production' ) { %> +