1
0
mirror of https://github.com/volatiletech/authboss.git synced 2024-11-24 08:42:17 +02:00

Merge pull request #104 from golliher/master

Added required handler for ListenAndServe
This commit is contained in:
Aaron L 2016-11-29 22:17:57 -08:00 committed by GitHub
commit a6e1ad1070

View File

@ -70,7 +70,7 @@ if err := ab.Init(); err != nil {
// Make sure to put authboss's router somewhere
http.Handle("/authboss", ab.NewRouter())
http.ListenAndServe(":8080")
http.ListenAndServe(":8080", nil)
```
Once you've got this code set up, it's time to implement the use cases you care about.