Replace go-bindata with go 1.16 embed (#452)

This commit is contained in:
Marcos Nils
2021-02-21 13:58:29 -03:00
committed by GitHub
parent cd6815aed5
commit 3a762ba15c
48 changed files with 21 additions and 576 deletions

View File

@@ -20,8 +20,8 @@ func (c *CookieID) SetCookie(rw http.ResponseWriter, host string) error {
Value: encoded,
Domain: host,
Path: "/",
SameSite: http.SameSiteNoneMode,
Secure: true,
SameSite: http.SameSiteDefaultMode,
Secure: false,
HttpOnly: true,
}
http.SetCookie(rw, cookie)