forked from rosa/hakurei
Compare commits
9 Commits
656853742a
...
564bc9f98d
| Author | SHA1 | Date | |
|---|---|---|---|
|
564bc9f98d
|
|||
|
7497adda0b
|
|||
|
d0c77989df
|
|||
|
4e0f444f65
|
|||
|
eb3034d2ec
|
|||
|
9f01484b02
|
|||
|
3b6aa9ad29
|
|||
|
b87fbf0c59
|
|||
|
7176f7b69e
|
@@ -19,7 +19,7 @@ func serveStaticContent(w http.ResponseWriter, r *http.Request) {
|
|||||||
if len(darkTheme) > 0 && darkTheme[0].Value == "true" {
|
if len(darkTheme) > 0 && darkTheme[0].Value == "true" {
|
||||||
http.ServeFileFS(w, r, content, "ui/static/dark.css")
|
http.ServeFileFS(w, r, content, "ui/static/dark.css")
|
||||||
} else {
|
} else {
|
||||||
http.ServeFileFS(w, r, content, "ui/static/dark.css")
|
http.ServeFileFS(w, r, content, "ui/static/light.css")
|
||||||
}
|
}
|
||||||
case "/favicon.ico":
|
case "/favicon.ico":
|
||||||
http.ServeFileFS(w, r, content, "ui/static/favicon.ico")
|
http.ServeFileFS(w, r, content, "ui/static/favicon.ico")
|
||||||
|
|||||||
Reference in New Issue
Block a user