修改现场测试问题
This commit is contained in:
@@ -18,7 +18,7 @@ let buildUrl = 'wss://pqmcn.com:8087/mqtt'//102
|
||||
const fetchMqttUrl = async () => {
|
||||
|
||||
const response = await fetch('/')
|
||||
const mqttUrl = response.headers.get('X-MQTT-URL')
|
||||
const mqttUrl = response.headers.get('X-Mqtt-Url')
|
||||
|
||||
window.localStorage.setItem('MQTTURL', mqttUrl || buildUrl)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user