Commit ead1fbb7 authored by aiduck's avatar aiduck

host.includes(realHost)

parent c9c61a0a
...@@ -12,7 +12,7 @@ class Monitor { ...@@ -12,7 +12,7 @@ class Monitor {
if (!system || !userIdentifier || host.length > 0) { if (!system || !userIdentifier || host.length > 0) {
console.error("system,userIdentifier,host是必传的"); console.error("system,userIdentifier,host是必传的");
} }
if(!host.includes(realHost)) { if(host.includes(realHost)) {
if (!this.initialized) { if (!this.initialized) {
this.tracksWorker.postMessage({ this.tracksWorker.postMessage({
type: "init", type: "init",
......
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