diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-07 17:04:49 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-07 17:04:49 +0200 |
commit | 043bc01dc5e9e2b264099e1c2110e9a43fe9a209 (patch) | |
tree | 11f4d1033f18ba1989d18a1551101ec9ee367025 | |
parent | 5224fcdbba087d6e388568ecf5fddf23e3e228cb (diff) |
Run go fmt
-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) |