|
|
@ -20,6 +20,6 @@ function onRequest(context){
|
|
|
|
var viewModel = {};
|
|
|
|
var viewModel = {};
|
|
|
|
var devicemgtProps = require("/app/modules/conf-reader/main.js")["conf"];
|
|
|
|
var devicemgtProps = require("/app/modules/conf-reader/main.js")["conf"];
|
|
|
|
viewModel["hostName"] = devicemgtProps["httpsURL"];
|
|
|
|
viewModel["hostName"] = devicemgtProps["httpsURL"];
|
|
|
|
viewModel["enrollmentURL"] = devicemgtProps["generalConfig"]["host"] + devicemgtProps["windowsEnrollmentDir"];
|
|
|
|
viewModel["enrollmentURL"] = devicemgtProps["managerHTTPSURL"] + devicemgtProps["windowsEnrollmentDir"];
|
|
|
|
return viewModel;
|
|
|
|
return viewModel;
|
|
|
|
}
|
|
|
|
}
|