Browse Source

Update main.go

master
Levi Olson 4 years ago
committed by GitHub
parent
commit
7cf1fbe9ef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      main.go

+ 2
- 0
main.go View File

@ -28,6 +28,8 @@ func main() {
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)

Loading…
Cancel
Save