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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)