diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/main.go b/main.go deleted file mode 100644 index c9d0e56..0000000 --- a/main.go +++ /dev/null @@ -1,17 +0,0 @@ -package main - -import ( - "github.com/gin-gonic/gin" - "github.com/gin-gonic/contrib/static" - "os" -) - -func main() { - r := gin.New() - r.Use(gin.Logger()) - - r.Use(static.Serve("/", - static.LocalFile("./build", true))) - - r.Run(":" + os.Getenv("PORT")) -} |