summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-07 17:04:49 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-07 17:04:49 +0200
commit043bc01dc5e9e2b264099e1c2110e9a43fe9a209 (patch)
tree11f4d1033f18ba1989d18a1551101ec9ee367025
parent5224fcdbba087d6e388568ecf5fddf23e3e228cb (diff)
Run go fmt
-rw-r--r--main.go4
1 files 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)