jlelse
/
jsonpub
Archived
1
Fork 0
This commit is contained in:
Jan-Lukas Else 2020-04-11 21:33:18 +02:00
parent 7b9473f6fc
commit a0afd43471
1 changed files with 14 additions and 12 deletions

View File

@ -19,6 +19,7 @@ func Serve() {
hookHandler := func(w http.ResponseWriter, r *http.Request) {
fmt.Println("Fetch feeds: ", time.Now().Format(time.RFC3339))
go func() {
for _, actor := range actors {
fmt.Println(actor.feed)
articles, err := allFeedItems(actor.feed)
@ -34,6 +35,7 @@ func Serve() {
}
}
}
}()
}
webfingerHandler := func(w http.ResponseWriter, r *http.Request) {