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:
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)
|
||||
|
||||
Reference in New Issue
Block a user