1
1
mirror of https://github.com/bumi/lntip synced 2025-06-17 02:05:35 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ func main() {
} else if !cfg.Bool("disable-website") { } else if !cfg.Bool("disable-website") {
stdOutLogger.Print("Running embedded page") stdOutLogger.Print("Running embedded page")
e.GET("/", func(c echo.Context) error { 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) // Embed static files and serve those on /lnme (e.g. /lnme/lnme.js)