Skip to content

Commit

Permalink
feat: cors 허용 url 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeon-z committed Dec 11, 2023
1 parent 4eaf06e commit 4b078d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/packman/auth/filter/CorsFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Component
@Order(Ordered.HIGHEST_PRECEDENCE)
public class CorsFilter implements Filter {
private final List<String> ALLOWED_ORIGINS = Arrays.asList("https://www.packman.kr", "https://www.packgirl.ml", "http://localhost:3000");
private final List<String> ALLOWED_ORIGINS = Arrays.asList("https://www.packman.kr", "https://www.packgirl.ml", "http://localhost:3000", "https://api.packman.kr");

public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
throws IOException, ServletException {
Expand Down

0 comments on commit 4b078d7

Please sign in to comment.