diff --git a/examples/auto-tls/main.go b/examples/auto-tls/main.go index 9495c0ac..49544c52 100644 --- a/examples/auto-tls/main.go +++ b/examples/auto-tls/main.go @@ -8,6 +8,7 @@ import ( func main() { r := gin.Default() + // folder for storing certificates gin.AutoTLSManager.Cache = autocert.DirCache("/var/www/.cache") // Ping handler