From 245b1324f7da193fbc501a521ffe9b2d2cc769b6 Mon Sep 17 00:00:00 2001 From: huguenindo Date: Fri, 9 Jun 2023 10:54:57 +0200 Subject: [PATCH] feat: configuration de CORS --- src/main/webapp/WEB-INF/web.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index a38aa65..41852a4 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -11,5 +11,20 @@ javax.sql.DataSource Container - + + CorsFilter + org.apache.catalina.filters.CorsFilter + + cors.allowed.origins + * + + cors.allowed.methods + GET,POST,PUT,DELETE,HEAD,OPTIONS + + + + + CorsFilter + /* + -- GitLab