1
1
mirror of https://github.com/bumi/lntip synced 2025-06-16 17:55:35 +00:00

Formatting

This commit is contained in:
bumi 2020-10-24 11:38:44 +02:00
parent 37ebaf3834
commit 9afa340725

View File

@ -3,7 +3,7 @@ package main
import (
"flag"
"github.com/GeertJohan/go.rice"
"github.com/bumi/lntip/ln"
"github.com/bumi/lnme/ln"
"github.com/didip/tollbooth/v6"
"github.com/didip/tollbooth/v6/limiter"
"github.com/labstack/echo/v4"
@ -68,7 +68,6 @@ func main() {
assetHandler := http.FileServer(rice.MustFindBox("files/assets").HTTPBox())
e.GET("/lnme/*", echo.WrapHandler(http.StripPrefix("/lnme/", assetHandler)))
// CORS settings
if !*disableCors {
e.Use(middleware.CORS())