Skip to content

Commit

Permalink
hotfix : 도메인 moamoa로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
oosedus committed Jan 19, 2025
1 parent 60b1be2 commit c1a6190
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
description = "Kusitms 30th CO:RECORD",
version = "v1"),
servers = {
@Server(url = "https://api.corecord.site",
@Server(url = "https://api.moamoa.site",
description = "서버 URL"),
}
)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/corecord/dev/common/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public class CookieUtil {
public ResponseCookie createCookie(String tokenName, String token, long expirationTime) {
return ResponseCookie.from(tokenName, token)
.domain("corecord.site")
.domain("moamoa.site")
.httpOnly(true)
.secure(true)
.path("/")
Expand All @@ -36,7 +36,7 @@ public String getCookieValue(HttpServletRequest request, String cookieName) {

public ResponseCookie deleteCookie(String cookieName) {
return ResponseCookie.from(cookieName, "")
.domain("corecord.site")
.domain("moamoa.site")
.httpOnly(true)
.secure(true) // 배포 시 true로 설정
.sameSite("None")
Expand Down

0 comments on commit c1a6190

Please sign in to comment.