Browse Source

final fix for let's encrypt

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

+ 1
- 3
main.go View File

@ -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)

Loading…
Cancel
Save