From d2ab0451d536236a3e7e9c45e87e5fe1b37347ed Mon Sep 17 00:00:00 2001 From: Levi Olson Date: Mon, 20 Jul 2020 14:02:06 -0500 Subject: [PATCH] Add support for let's encrypt acme challenges --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 7152675..e721b0f 100644 --- a/main.go +++ b/main.go @@ -27,6 +27,8 @@ func main() { router.GET("/favicon.ico", func(c *gin.Context) { c.File("assets/favicon.ico") }) + + router.Static("/public", "./public") router.GET("/ping", func(c *gin.Context) { c.String(http.StatusOK, "pong")