From c2de9971e9d5f1408083f0d131818e16430238d2 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sat, 25 Jun 2022 11:33:24 -0700 Subject: removed public indexing being dependent on fchan being available --- route/routes/main.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'route/routes') 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") -- cgit v1.2.3