Skip to content

Commit

Permalink
refactor: cors 허락값 : http -> https
Browse files Browse the repository at this point in the history
  • Loading branch information
0702Yoon committed Aug 9, 2024
1 parent 88ae152 commit 7932228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
HttpServletRequest request = (HttpServletRequest) req;
HttpServletResponse response = (HttpServletResponse) res;

response.setHeader("Access-Control-Allow-Origin", "http://api.mju-bigbrother.xyz:3000, http://localhost:3000");
response.setHeader("Access-Control-Allow-Origin", "https://api.mju-bigbrother.xyz:3000, https://localhost:3000");

// CORS 허용한 Origin
response.setHeader("Access-Control-Allow-Credentials", "true");
Expand Down

0 comments on commit 7932228

Please sign in to comment.