Skip to content

Commit

Permalink
feat: 요청 로그 확인 #357
Browse files Browse the repository at this point in the history
  • Loading branch information
jhon3242 committed Oct 24, 2024
1 parent 7836c32 commit a6044ca
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package ddangkong.controller.room;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.ResponseCookie;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class RoomMemberCookieEncryptor {

Expand Down Expand Up @@ -31,8 +33,9 @@ public ResponseCookie getEncodedCookie(Object value, String requestURL) {
.build();
}

private String getSameSiteOption(String uri) {
if (uri.startsWith(LOCALHOST)) {
private String getSameSiteOption(String url) {
log.info("request url = {}", url);
if (url.startsWith(LOCALHOST)) {
return NONE;
}
return LAX;
Expand Down

0 comments on commit a6044ca

Please sign in to comment.