Skip to content

Commit c6e746e

Browse files
committed
fix: 포트 8080으로 변경
1 parent ec3417d commit c6e746e

File tree

1 file changed

+1
-5
lines changed
  • Location-based-target-authentication/src/main/java/com/swyp/global/config

1 file changed

+1
-5
lines changed

Location-based-target-authentication/src/main/java/com/swyp/global/config/OAuth2Config.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ public class OAuth2Config {
2828
@Bean
2929
public CorsConfigurationSource corsConfigurationSource() {
3030
CorsConfiguration configuration = new CorsConfiguration();
31-
configuration.setAllowedOrigins(Arrays.asList(
32-
"http://localhost:8080",
33-
"http://127.0.0.1:8080",
34-
"http://locationcheckgo.netlify.app"
35-
));
31+
configuration.addAllowedOriginPattern("*");
3632
configuration.setAllowedMethods(Arrays.asList(
3733
"GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "PATCH", "TRACE", "CONNECT"
3834
));

0 commit comments

Comments
 (0)