From b790dbd2aeeb9a72766c6fac71bfb147878cba81 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 13 Jun 2013 20:22:23 +0200 Subject: fixed font and remote addresses --- pyload/web/app/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pyload/web/app/index.html') diff --git a/pyload/web/app/index.html b/pyload/web/app/index.html index 5f2dd4265..42dd005e4 100644 --- a/pyload/web/app/index.html +++ b/pyload/web/app/index.html @@ -8,6 +8,7 @@ + @@ -27,8 +28,9 @@ seconds: ['second', 'seconds'] }; // TODO carefully when translating - window.hostProtocol = 'http://'; - window.hostAddress = 'localhost'; + // TODO: use configured values + window.hostProtocol = window.location.protocol + '//'; + window.hostAddress = window.location.hostname; window.hostPort = '8001'; window.pathPrefix = "/"; -- cgit v1.2.3