mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removed enrollment url calculation
This commit is contained in:
parent
55acb7e7d3
commit
bb526513e8
@ -37,12 +37,6 @@ var conf = function () {
|
||||
return value;
|
||||
}
|
||||
);
|
||||
if (conf.generalConfig.host) {
|
||||
//TODO: Move enrollment URL into app-conf.json
|
||||
var enrollmentHost = conf.generalConfig.host.replace(/https:\/\/localhost(:\d+)?/, conf.httpsURL).replace(
|
||||
/http:\/\/localhost(:\d+)?/, conf.httpURL);
|
||||
conf.enrollmentUrl = enrollmentHost + conf.enrollmentDir;
|
||||
}
|
||||
application.put("CONF", conf);
|
||||
}
|
||||
return conf;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user