diff options
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -119,8 +119,8 @@ func setUserTheme(w http.ResponseWriter, r *http.Request) { } http.SetCookie(w, &http.Cookie{ - Name: "theme", - Value: theme, + Name: "theme", + Value: theme, MaxAge: math.MaxInt32, }) http.Redirect(w, r, r.Referer(), http.StatusFound) |