1
1
mirror of https://github.com/bumi/lntip synced 2026-03-03 20:40:52 +00:00

Remove useless conversion to string

This commit is contained in:
Aaron Dewes
2022-01-31 08:35:08 +01:00
committed by GitHub
parent 77d21734c3
commit 31c8b4d080

View File

@@ -65,7 +65,7 @@ func main() {
} else if !cfg.Bool("disable-website") {
stdOutLogger.Print("Running embedded page")
e.GET("/", func(c echo.Context) error {
return c.HTML(200, string(indexPage))
return c.HTML(200, indexPage)
})
}
// Embed static files and serve those on /lnme (e.g. /lnme/lnme.js)