Fix cookie warning
This commit is contained in:
@@ -92,6 +92,8 @@ func clientUniqueIdAdder(next http.Handler) http.Handler {
|
|||||||
Value: clientUniqueId,
|
Value: clientUniqueId,
|
||||||
MaxAge: consts.CookieExpiry,
|
MaxAge: consts.CookieExpiry,
|
||||||
HttpOnly: true,
|
HttpOnly: true,
|
||||||
|
Secure: true,
|
||||||
|
SameSite: http.SameSiteNoneMode,
|
||||||
Path: "/",
|
Path: "/",
|
||||||
}
|
}
|
||||||
http.SetCookie(w, c)
|
http.SetCookie(w, c)
|
||||||
|
|||||||
Reference in New Issue
Block a user