diff --git a/src/main/java/com/ixxp/culpop/config/WebSecurityConfig.java b/src/main/java/com/ixxp/culpop/config/WebSecurityConfig.java index 936b70c..5280538 100644 --- a/src/main/java/com/ixxp/culpop/config/WebSecurityConfig.java +++ b/src/main/java/com/ixxp/culpop/config/WebSecurityConfig.java @@ -65,6 +65,7 @@ public void addCorsMappings(CorsRegistry registry) { .allowedOrigins("http://localhost:8080", "https://localhost:5173", "http://43.202.13.38:8081", "https://www.culpop.shop", "https://my.culpop.shop", "https://a.culpop.vercel.app") .allowedHeaders("Cookie") .exposedHeaders("Set-Cookie") - .allowCredentials(true); + .allowCredentials(true) + .maxAge(3600); } }