3
0
mirror of https://github.com/gin-gonic/gin.git synced 2025-04-06 03:57:46 +08:00

fix: update autotls example. ()

This commit is contained in:
Bo-Yi Wu 2017-07-03 00:55:21 -05:00 committed by GitHub
parent 92ddc7d240
commit f0b54a3023
2 changed files with 2 additions and 2 deletions
README.md
examples/auto-tls

@ -910,7 +910,7 @@ func main() {
Cache: autocert.DirCache("/var/www/.cache"),
}
log.Fatal(autotls.RunWithManager(r, m))
log.Fatal(autotls.RunWithManager(r, &m))
}
```

@ -22,5 +22,5 @@ func main() {
Cache: autocert.DirCache("/var/www/.cache"),
}
log.Fatal(autotls.RunWithManager(r, m))
log.Fatal(autotls.RunWithManager(r, &m))
}