Commit 4a538fbd authored by 崔佳豪's avatar 崔佳豪

fix: nginxStart

parent b708e674
Pipeline #48660 passed with stages
in 2 minutes 16 seconds
...@@ -263,7 +263,7 @@ class Login { ...@@ -263,7 +263,7 @@ class Login {
: DEFAULT_PARSE_LEVEL; : DEFAULT_PARSE_LEVEL;
if (data.NginxStart) { if (data.NginxStart) {
mqttConfig.NginxStart = data.NginxStart; mqttConfig.nginxStart = data.NginxStart;
mqttConfig.mqtt_mess.TcpIP = window.location.hostname; mqttConfig.mqtt_mess.TcpIP = window.location.hostname;
mqttConfig.mqtt_mess.TcpPort = parseInt(window.location.port); mqttConfig.mqtt_mess.TcpPort = parseInt(window.location.port);
mqttConfig.mqtt_path = '/ws/'; mqttConfig.mqtt_path = '/ws/';
......
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