forked from mirror/gin
docs: add comment.
This commit is contained in:
parent
fb502ca58b
commit
0cb7cf88cb
|
@ -8,6 +8,7 @@ import (
|
||||||
func main() {
|
func main() {
|
||||||
r := gin.Default()
|
r := gin.Default()
|
||||||
|
|
||||||
|
// folder for storing certificates
|
||||||
gin.AutoTLSManager.Cache = autocert.DirCache("/var/www/.cache")
|
gin.AutoTLSManager.Cache = autocert.DirCache("/var/www/.cache")
|
||||||
|
|
||||||
// Ping handler
|
// Ping handler
|
||||||
|
|
Loading…
Reference in New Issue