Skip to content

Commit

Permalink
fix: autocert package. (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed Apr 26, 2018
1 parent 0e34822 commit be87bd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autotls.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ func RunWithManager(r http.Handler, m *autocert.Manager) error {
Handler: r,
}

go http.ListenAndServe(":http", m.HTTPHandler(nil))

return s.ListenAndServeTLS("", "")
}

0 comments on commit be87bd5

Please sign in to comment.