Skip to content

Commit

Permalink
♻️ refact(badge): Change query param for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
vvatelot committed Feb 11, 2023
1 parent 99b5f46 commit e0bb266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/badge.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func GetEcoindexBadge(c *fiber.Ctx) error {
return returnValue
}

if c.Query("dark") == "true" {
if c.Query("theme") == "dark" {
dark = true
}

Expand Down

0 comments on commit e0bb266

Please sign in to comment.