You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ja...@apache.org on 2014/11/03 09:12:22 UTC
git commit: MARMOTTA-557: Updated webapp-archetype for the relaxed
CORS configuration (MAMROTTA-473)
Repository: marmotta
Updated Branches:
refs/heads/develop b027ad098 -> 9c820becb
MARMOTTA-557: Updated webapp-archetype for the relaxed CORS configuration (MAMROTTA-473)
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/9c820bec
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/9c820bec
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/9c820bec
Branch: refs/heads/develop
Commit: 9c820becbb81b57d60d2e82db11502cc1f45d576
Parents: b027ad0
Author: Jakob Frank <ja...@apache.org>
Authored: Mon Nov 3 09:11:47 2014 +0100
Committer: Jakob Frank <ja...@apache.org>
Committed: Mon Nov 3 09:12:14 2014 +0100
----------------------------------------------------------------------
.../archetype-resources/src/main/webapp/WEB-INF/web.xml | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/marmotta/blob/9c820bec/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml b/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
index 98b377d..d148e93 100644
--- a/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
+++ b/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
@@ -68,14 +68,8 @@
<init-param>
<param-name>cors.supportedMethods</param-name>
- <param-value>GET, HEAD, POST, PUT, DELETE, OPTIONS</param-value>
+ <param-value>GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS</param-value>
</init-param>
-
- <init-param>
- <param-name>cors.supportedHeaders</param-name>
- <param-value>Origin, Accept, Content-Type</param-value>
- </init-param>
-
</filter>
<filter-mapping>
<filter-name>CORS</filter-name>