mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 10:47:19 +03:00
Fix cookie warning
This commit is contained in:
parent
197d430d15
commit
47bcf719f2
@ -92,6 +92,8 @@ func clientUniqueIdAdder(next http.Handler) http.Handler {
|
||||
Value: clientUniqueId,
|
||||
MaxAge: consts.CookieExpiry,
|
||||
HttpOnly: true,
|
||||
Secure: true,
|
||||
SameSite: http.SameSiteNoneMode,
|
||||
Path: "/",
|
||||
}
|
||||
http.SetCookie(w, c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user