Enha: filter out some words

This commit is contained in:
Grail Finder
2025-06-19 18:37:16 +03:00
parent d4daa02155
commit 2db1c246a4
10 changed files with 3402 additions and 5927 deletions

View File

@ -151,7 +151,7 @@ func makeCookie(username string, remote string) (*http.Cookie, error) {
log.Info("check remote addr for cookie set",
"remote", remote, "session", session)
if strings.Contains(remote, "192.168.0") {
cookie.Domain = "192.168.0.106"
cookie.Domain = "192.168.0.100"
cookie.SameSite = http.SameSiteLaxMode
cookie.Secure = false
log.Info("changing cookie domain", "domain", cookie.Domain)