default hostname to hostname in browser URL, build statik file

pull/3184/head
JP 2015-07-02 13:54:13 -05:00
parent b9a032b3d6
commit 567751d331
2 changed files with 2 additions and 2 deletions

View File

@ -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