Skip to content

Commit

Permalink
fix: CORS 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Enble committed Nov 19, 2024
1 parent 43cfd51 commit bd602ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/pictalk/global/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public CorsConfigurationSource corsConfigurationSource() {
private List<String> getAllowOriginPatterns() {
List<String> allowOriginPatterns = new ArrayList<>();
allowOriginPatterns.add(domain);
allowOriginPatterns.add("https://enble.site");
allowOriginPatterns.add("http://localhost:5173");
return allowOriginPatterns;
}
Expand Down

0 comments on commit bd602ae

Please sign in to comment.