mirror of
https://github.com/gin-gonic/gin.git
synced 2025-05-20 08:55:53 +08:00
docs: add comment.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user