Commit a321d892 authored by xinzhedeai's avatar xinzhedeai

线上地址ip更改

parent cf376333
...@@ -4,8 +4,15 @@ ENV = 'production' ...@@ -4,8 +4,15 @@ ENV = 'production'
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
# 如果接口是 http 形式, wss 需要改为 ws # 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_BASE_API = 'http://192.168.13.200:8057' # VUE_APP_BASE_API = 'http://218.56.105.134:8057'
VUE_APP_BASE_API = 'http://218.56.105.134:8057'
# ------------------------ # ------------------------
VUE_APP_LOCAL_API = 'http://192.168.13.200:8013' # VUE_APP_LOCAL_API = 'http://218.56.105.134:8013'
VUE_APP_LOCAL_API = 'http://218.56.105.134:8013'
#VUE_APP_weather = 'http://60.217.78.10:9003' #VUE_APP_weather = 'http://60.217.78.10:9003'
...@@ -33,7 +33,7 @@ let jessibucaPlayer = {}; ...@@ -33,7 +33,7 @@ let jessibucaPlayer = {};
} }
); );
var host = location.protocol + '//' + (location.hostname === '192.168.2.11' ? '192.168.2.37' : '192.168.13.200') + ':8013'; var host = location.protocol + '//' + (location.hostname === '192.168.2.11' ? '192.168.2.37' : '218.56.105.134') + ':8013';
var selfHost = location.hostname === '192.168.2.11' ? 'http://192.168.2.11:8057' : location.protocol + '//' + window.location.host; var selfHost = location.hostname === '192.168.2.11' ? 'http://192.168.2.11:8057' : location.protocol + '//' + window.location.host;
......
...@@ -734,10 +734,10 @@ ...@@ -734,10 +734,10 @@
<!-- cookie --> <!-- cookie -->
<script src="js/js.cookie.js"></script> <script src="js/js.cookie.js"></script>
<script> <script>
const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '218.56.105.134') + ':8013';
// 小黄 // 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '192.168.13.200') + ':8013'; //const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '218.56.105.134') + ':8013';
const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host; const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host;
...@@ -1331,7 +1331,7 @@ const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:805 ...@@ -1331,7 +1331,7 @@ const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:805
}, },
// 跳转到后台管理 // 跳转到后台管理
gotoManagement() { gotoManagement() {
window.open('http://192.168.13.200:8057', '_self') window.open('http://218.56.105.134:8057', '_self')
}, },
gotoManagement1(){ gotoManagement1(){
......
...@@ -892,10 +892,10 @@ ...@@ -892,10 +892,10 @@
<!-- cookie --> <!-- cookie -->
<script src="js/js.cookie.js"></script> <script src="js/js.cookie.js"></script>
<script> <script>
const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '218.56.105.134') + ':8013';
// 小黄 // 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '192.168.13.200') + ':8013'; //const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '218.56.105.134') + ':8013';
const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host; const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host;
...@@ -1364,7 +1364,7 @@ ...@@ -1364,7 +1364,7 @@
}, },
// 跳转到后台管理 // 跳转到后台管理
gotoManagement() { gotoManagement() {
window.open('http://192.168.13.200:8057', '_self') window.open('http://218.56.105.134:8057', '_self')
}, },
gotoManagement1(){ gotoManagement1(){
......
...@@ -755,11 +755,11 @@ ...@@ -755,11 +755,11 @@
<script src="js/js.cookie.js"></script> <script src="js/js.cookie.js"></script>
<script> <script>
// 小黄 // 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '192.168.13.200') + ':8013'; //const host = location.protocol + '//' + (location.hostname === '192.168.3.180' ? '192.168.2.200' : '218.56.105.134') + ':8013';
const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '218.56.105.134') + ':8013';
// 小黄 // 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '192.168.13.200') + ':8013'; //const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '218.56.105.134') + ':8013';
const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host; const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host;
...@@ -1353,7 +1353,7 @@ ...@@ -1353,7 +1353,7 @@
}, },
// 跳转到后台管理 // 跳转到后台管理
gotoManagement() { gotoManagement() {
window.open('http://192.168.13.200:8057', '_self') window.open('http://218.56.105.134:8057', '_self')
}, },
gotoManagement1(){ gotoManagement1(){
......
...@@ -345,7 +345,7 @@ ...@@ -345,7 +345,7 @@
} }
); );
const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '218.56.105.134') + ':8013';
const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host; const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host;
......
...@@ -421,7 +421,7 @@ ...@@ -421,7 +421,7 @@
//const host = location.protocol + '//' + window.location.host; //const host = location.protocol + '//' + window.location.host;
const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '218.56.105.134') + ':8013';
const selfHost = 'http://192.168.3.38:8057'; const selfHost = 'http://192.168.3.38:8057';
......
...@@ -863,10 +863,10 @@ ...@@ -863,10 +863,10 @@
<script src="js/highcharts.js"></script> <script src="js/highcharts.js"></script>
<script> <script>
const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '218.56.105.134') + ':8013';
// 小黄 // 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '192.168.13.200') + ':8013'; //const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '218.56.105.134') + ':8013';
const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host; const selfHost = location.hostname === '192.168.3.38' ? 'http://192.168.3.38:8057' : location.protocol + '//' + window.location.host;
...@@ -2146,7 +2146,7 @@ ...@@ -2146,7 +2146,7 @@
}, },
// 跳转到后台管理 // 跳转到后台管理
gotoManagement() { gotoManagement() {
window.open('http://192.168.13.200:8057', '_self') window.open('http://218.56.105.134:8057', '_self')
}, },
gotoManagement1(){ gotoManagement1(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment