Fix
This commit is contained in:
parent
7b9473f6fc
commit
a0afd43471
2
http.go
2
http.go
|
@ -19,6 +19,7 @@ func Serve() {
|
||||||
|
|
||||||
hookHandler := func(w http.ResponseWriter, r *http.Request) {
|
hookHandler := func(w http.ResponseWriter, r *http.Request) {
|
||||||
fmt.Println("Fetch feeds: ", time.Now().Format(time.RFC3339))
|
fmt.Println("Fetch feeds: ", time.Now().Format(time.RFC3339))
|
||||||
|
go func() {
|
||||||
for _, actor := range actors {
|
for _, actor := range actors {
|
||||||
fmt.Println(actor.feed)
|
fmt.Println(actor.feed)
|
||||||
articles, err := allFeedItems(actor.feed)
|
articles, err := allFeedItems(actor.feed)
|
||||||
|
@ -34,6 +35,7 @@ func Serve() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
webfingerHandler := func(w http.ResponseWriter, r *http.Request) {
|
webfingerHandler := func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
Reference in New Issue
Block a user