This commit is contained in:
Peter Stuifzand 2018-01-30 20:08:30 +01:00
parent a3f4c4fbac
commit 09a4062b23

View File

@ -161,7 +161,7 @@ func (handler *subscriptionHandler) save() error {
func main() {
handler := &subscriptionHandler{}
handler.Subscribers = make(map[string]Subscriber)
handler.Subscribers = make(map[string][]Subscriber)
handler.load()
http.Handle("/", handler)
log.Fatal(http.ListenAndServe(":80", nil))