From 64cfee38228b139952e1f19e2e569878b9f51389 Mon Sep 17 00:00:00 2001 From: megala21 Date: Thu, 27 Jul 2017 16:54:32 +0530 Subject: [PATCH] Reverting the change --- .../src/main/webapp/WEB-INF/web.xml | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/webapp/WEB-INF/web.xml b/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/webapp/WEB-INF/web.xml index a3bf334047..db708d84b9 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/webapp/WEB-INF/web.xml +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/webapp/WEB-INF/web.xml @@ -37,7 +37,7 @@ doAuthentication - true + false @@ -55,8 +55,20 @@ - ApiOriginFilter - org.wso2.carbon.device.application.mgt.api.util.ApiOriginFilter + CorsFilter + org.apache.catalina.filters.CorsFilter + + cors.allowed.origins + * + + + cors.allowed.methods + GET,POST,DELETE,PUT + + + cors.allowed.headers + Content-Type + @@ -96,7 +108,7 @@ - ApiOriginFilter + CorsFilter /*