Skip to content

Commit

Permalink
Remove credentials from CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
haideriqbal committed Nov 14, 2024
1 parent da4c9f8 commit 20b96ea
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
httpResponse.addHeader("Access-Control-Allow-Origin", "*");
httpResponse.addHeader("Access-Control-Allow-Headers", "*");
httpResponse.addHeader("Access-Control-Allow-Methods", "GET");
httpResponse.addHeader("Access-Control-Allow-Credentials", "true");
}

chain.doFilter(request, response);
Expand Down

0 comments on commit 20b96ea

Please sign in to comment.