Update dashboard.html, per comments in PR.
This commit is contained in:
parent
4a51ee1c83
commit
3f0c433668
@ -1438,11 +1438,11 @@ var Dashboard = function() {
|
||||
JobsRenderer.prototype._renderDownloadLine = JobsRenderer.prototype._moreDomRenderDownloadLine;
|
||||
}
|
||||
|
||||
// If no ?host=, connect to this server not some other server
|
||||
if(args["host"]) {
|
||||
this.host = args["host"];
|
||||
} else {
|
||||
// Guess that the WebSocket port is same as the HTTP port
|
||||
this.host = location.hostname + ':' + Number(location.port);
|
||||
this.host = location.host;
|
||||
}
|
||||
this.dumpTraffic = args["dumpMax"] && Number(args["dumpMax"]) > 0;
|
||||
if(this.dumpTraffic) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user