Skip to content

Commit

Permalink
[HotFix] resolve import
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong committed Feb 14, 2024
1 parent d265e14 commit 319061e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.example.waggle.global.config;

import com.example.waggle.global.security.annotation.CustomAuthenticationPrincipalArgumentResolver;
import org.springframework.boot.web.servlet.server.CookieSameSiteSupplier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
Expand Down Expand Up @@ -28,6 +30,7 @@ public void addCorsMappings(CorsRegistry registry) {
.allowCredentials(true) //요청 허용 쿠키
.maxAge(MAX_AGE_SECS);
}

@Bean
public CookieSameSiteSupplier applicationCookieSameSiteSupplier() {
return CookieSameSiteSupplier.ofNone();
Expand Down

0 comments on commit 319061e

Please sign in to comment.