Set default address to window.location.hostname

This commit is contained in:
Jonas Herzig 2018-10-08 18:48:36 +02:00
parent f739ff9345
commit 5f2798e78c

View file

@ -6,7 +6,7 @@ window.mumbleWebConfig = {
// Default values (can be changed by passing a query parameter of the same name)
'defaults': {
// Connect Dialog
'address': '',
'address': window.location.hostname,
'port': '443',
'token': '',
'username': '',