aboutsummaryrefslogtreecommitdiff
path: root/route/routes/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'route/routes/main.go')
-rw-r--r--route/routes/main.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/route/routes/main.go b/route/routes/main.go
index 99dad31..a792cd2 100644
--- a/route/routes/main.go
+++ b/route/routes/main.go
@@ -24,16 +24,6 @@ func Index(ctx *fiber.Ctx) error {
var data route.PageData
- reqActivity := activitypub.Activity{Id: "https://fchan.xyz/followers"}
- col, err := reqActivity.GetCollection()
- if err != nil {
- return util.MakeError(err, "Index")
- }
-
- if len(col.Items) > 0 {
- data.InstanceIndex = col.Items
- }
-
data.NewsItems, err = db.GetNews(3)
if err != nil {
return util.MakeError(err, "Index")