A self-hosted dashboard that puts all your feeds in one place
Go aggregatordashboarddockerfeed-readergohomelabhomepagemonitoringredditrssrss-readerself-hostedstartpageyoutube
Make theme cookie samesite lax
Svilen Markovbf97829814f2
diff --git a/internal/glance/theme.go b/internal/glance/theme.goindex f99efd4..a3e26d4 100644--- a/internal/glance/theme.go+++ b/internal/glance/theme.go@@ -25,9 +25,10 @@ func (a *application) handleThemeChangeRequest(w http.ResponseWriter, r *http.Re}http.SetCookie(w, &http.Cookie{- Name: "theme",- Value: themeKey,- Path: a.Config.Server.BaseURL + "/",+ Name: "theme",+ Value: themeKey,+ Path: a.Config.Server.BaseURL + "/",+ SameSite: http.SameSiteLaxMode,})w.Header().Set("Content-Type", "text/css")