From 043bc01dc5e9e2b264099e1c2110e9a43fe9a209 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 7 Aug 2024 17:04:49 +0200 Subject: Run go fmt --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 22b23ea..7866702 100644 --- a/main.go +++ b/main.go @@ -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) -- cgit v1.2.3