aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFChannel0 <77419041+FChannel0@users.noreply.github.com>2021-10-02 20:56:33 -0700
committerGitHub <noreply@github.com>2021-10-02 20:56:33 -0700
commit4d73ce8f72b90e0f7e11b35f6bc63498576f83c0 (patch)
tree40d6f6aeae2533d72dead7beaac6f981392c5f08
parentcfc9beb959c588644feb4f1eea4c7cd860e5005f (diff)
parentca04198f48b083e2eafb188bfe1a9a6815ef6771 (diff)
Merge pull request #56 from anomalous69/anomalous69-fixdead
Quick fix for http: panic serving on home post fchan.xyz death
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index 3b7676e..16d88bc 100644
--- a/client.go
+++ b/client.go
@@ -120,7 +120,7 @@ func IndexGet(w http.ResponseWriter, r *http.Request, db *sql.DB) {
data.BoardRemainer = make([]int, 0)
}
- data.InstanceIndex = GetCollectionFromReq("https://fchan.xyz/followers").Items
+ //data.InstanceIndex = GetCollectionFromReq("https://fchan.xyz/followers").Items
data.NewsItems = getNewsFromDB(db, 3)
t.ExecuteTemplate(w, "layout", data)