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:
commit
a6e1ad1070
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user