Skip to content

Commit cee2da1

Browse files
committed
♻️ REFACTOR: CORS 설정에 localhost:8080 추가
1 parent 6eaffa0 commit cee2da1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/cloudcomputinginha/demo/config/auth/SecurityConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Excepti
3636
public CorsConfiguration getCorsConfiguration(HttpServletRequest request) {
3737
CorsConfiguration configuration = new CorsConfiguration();
3838
configuration.setAllowedOrigins(List.of(
39+
"http://localhost:8080",
3940
"http://localhost:3000",
4041
"https://cloud-computing-fe-two.vercel.app",
4142
"http://127.0.0.1:5500",

0 commit comments

Comments
 (0)