|
|
@ -27,9 +27,7 @@ func main() { |
|
|
|
router.GET("/favicon.ico", func(c *gin.Context) { |
|
|
|
c.File("assets/favicon.ico") |
|
|
|
}) |
|
|
|
|
|
|
|
router.Static("/public", "./public") |
|
|
|
|
|
|
|
|
|
|
|
router.GET("/.well-known/acme-challenge/:file", func(c *gin.Context) { |
|
|
|
fullpath := "public/.well-known/acme-challenge/" + c.Param("file") |
|
|
|
c.File(fullpath) |
|
|
|