Skip to content

Commit

Permalink
[feat] CORS 학교 도메인 연결!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
chahyunsoo committed Oct 15, 2024
1 parent fe35a64 commit 5df52f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/ussum/homepage/global/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public CorsFilter corsFilter() {
config.addAllowedOrigin("https://ssu-student-union.github.io");
config.addAllowedOrigin("https://homepage-frontend-dun.vercel.app");
config.addAllowedOrigin("https://homepage-frontend-psi.vercel.app");
config.addAllowedOrigin("https://stu.ssu.ac.kr");
config.addAllowedHeader("*");
config.setAllowedMethods(Arrays.asList("HEAD", "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
source.registerCorsConfiguration("/**",config);
Expand Down

0 comments on commit 5df52f8

Please sign in to comment.