mirror of
https://github.com/1f349/tulip.git
synced 2024-12-22 08:14:13 +00:00
Rename css bytes variable
This commit is contained in:
parent
69db84cd14
commit
0f608d6b2f
@ -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
|
||||
|
@ -3,4 +3,4 @@ package theme
|
||||
import _ "embed"
|
||||
|
||||
//go:embed style.css
|
||||
var ThemeCss []byte
|
||||
var DefaultThemeCss []byte
|
||||
|
Loading…
Reference in New Issue
Block a user