Rename css bytes variable

This commit is contained in:
Melon 2023-12-17 22:45:31 +00:00
parent 69db84cd14
commit 0f608d6b2f
Signed by: melon
GPG Key ID: 6C9D970C50D26A25
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ func NewHttpServer(conf Conf, db *database.DB, privKey []byte) *http.Server {
// theme styles
r.GET("/theme/style.css", func(rw http.ResponseWriter, req *http.Request, params httprouter.Params) {
http.ServeContent(rw, req, "style.css", time.Now(), bytes.NewReader(theme.ThemeCss))
http.ServeContent(rw, req, "style.css", time.Now(), bytes.NewReader(theme.DefaultThemeCss))
})
// login steps

View File

@ -3,4 +3,4 @@ package theme
import _ "embed"
//go:embed style.css
var ThemeCss []byte
var DefaultThemeCss []byte