Browse Source

Add support for let's encrypt acme challenges

master
Levi Olson 4 years ago
committed by GitHub
parent
commit
d2ab0451d5
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

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

Loading…
Cancel
Save