default hostname to hostname in browser URL, build statik file
parent
b9a032b3d6
commit
567751d331
|
@ -8,7 +8,7 @@ var currentlySelectedDatabase = null;
|
|||
|
||||
// connection settings for the server, with sensible defaults
|
||||
var connectionSettings = {
|
||||
hostname: "localhost",
|
||||
hostname: (window.location.hostname ? window.location.hostname: "localhost"),
|
||||
port: "8086",
|
||||
username: "",
|
||||
password: "",
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue