Skip to content

Commit 333f329

Browse files
authored
for intersystems issue #19
Login page - determine host and port automatically
1 parent c3b9e9b commit 333f329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/controllers/MainCtrl.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function MainCtrl($s, $state, $cookies, FormSrvc, SessionSrvc, UtilSrvc, $timeou
77
VARIABLES INITIALIZATION
88
===============================================================*/
99

10-
$root.server = "localhost";
11-
$root.port = "57772";
10+
$root.server = location.hostname //"localhost";
11+
$root.port = location.port //"57772";
1212
$root.webapp = "forms";
1313

1414
$s.main = {};

0 commit comments

Comments
 (0)