]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/panes/connect.js
Add configuration of dynamic and static base URLs.
[irc/quakenet/qwebirc.git] / js / ui / panes / connect.js
index 1f99dd954486bfb682f469b14f794783bca73c79..3c5fc3ace4a3e1ea86a187b4a07ea609e25b593a 100644 (file)
@@ -8,7 +8,7 @@ qwebirc.ui.GenericLoginBox = function(parentElement, callback, initialNickname,
 
 qwebirc.ui.AuthLogin = function(e) {
   var cookie = Cookie.write("redirect", document.location);
-  document.location = "./auth/";
+  document.location = qwebirc.global.dynamicBaseURL + "auth/";
   new Event(e).stop();
 }