Adding multi-server support

This commit is contained in:
James Barnsley
2020-04-30 15:45:55 +12:00
parent 31652b09f6
commit 5388f6a59e
16 changed files with 146 additions and 53 deletions

View File

@ -31,7 +31,8 @@ export function addServer() {
name: 'New server',
host: window.location.hostname,
port: (window.location.port ? window.location.port : (window.location.protocol === 'https:' ? '443' : '80')),
}
ssl: window.location.protocol === 'https:',
},
};
}