Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
added header Access-Control-Allow-Origin
Browse files Browse the repository at this point in the history
  • Loading branch information
jungwire committed Aug 1, 2023
1 parent 6ffdcd5 commit 38b4b03
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
throws ServletException, IOException {
HttpServletRequest request = (HttpServletRequest) req;
HttpServletResponse response = (HttpServletResponse) res;
response.addHeader("Access-Control-Allow-Origin", "*");

String path = request.getRequestURI();

Expand Down

0 comments on commit 38b4b03

Please sign in to comment.