mirror of https://github.com/bumi/lntip
Remove useless conversion to string
This commit is contained in:
parent
77d21734c3
commit
31c8b4d080
2
lnme.go
2
lnme.go
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue