Merge pull request #515 from hasuniea/windows10

Fixing gateway issues in windows
revert-dabc3590
Rasika Perera 8 years ago committed by GitHub
commit 72d9e2d0d3

@ -68,7 +68,7 @@ public final class PluginConstants {
public static final String CXF_REQUEST_URI = "org.apache.cxf.request.uri";
//Web services media types
public static final String SYNCML_MEDIA_TYPE = "application/vnd.syncml.dm+xml;charset=utf-8";
public static final String SYNCML_MEDIA_TYPE = "application/vnd.syncml.dm+xml";
/**
* Discovery service related other constants

@ -46,7 +46,7 @@ import javax.ws.rs.core.Response;
@Extension(properties = {
@ExtensionProperty(name = "name", value = "Windows 10 Device management"),
@ExtensionProperty(name = "context",
value = "/api/device-mgt/windows/v1.0/management"),
value = "/api/device-mgt/windows/v1.0/management/devicemgt"),
})
}
),

@ -45,7 +45,7 @@ $(document).ready(function () {
var url = $(this).prop("href");
var hash = url.substring(url.indexOf("#") + 1);
if (hash == "device_location") {
if (hash == "device_location_tab") {
if (!map) {
loadLeafletMap();
}

Loading…
Cancel
Save