diff --git a/src/main/java/com/somemore/global/config/WebConfig.java b/src/main/java/com/somemore/global/config/WebConfig.java index 21e92380..2a3d55e0 100644 --- a/src/main/java/com/somemore/global/config/WebConfig.java +++ b/src/main/java/com/somemore/global/config/WebConfig.java @@ -13,13 +13,12 @@ public void addCorsMappings(CorsRegistry registry) { .allowedOrigins( "http://localhost:3000", "http://localhost:5173", - "http://front-deploy.s3-website.ap-northeast-2.amazonaws.com", - "http://somemore-front.s3-website.ap-northeast-2.amazonaws.com/", "https://www.somemore.site/", "https://api.somemore.site/" ) .allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS") .allowedHeaders("*") + .exposedHeaders("Authorization") .allowCredentials(true) .maxAge(3600); }