diff options
author | FChannel0 <77419041+FChannel0@users.noreply.github.com> | 2021-10-02 20:56:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 20:56:33 -0700 |
commit | 4d73ce8f72b90e0f7e11b35f6bc63498576f83c0 (patch) | |
tree | 40d6f6aeae2533d72dead7beaac6f981392c5f08 /client.go | |
parent | cfc9beb959c588644feb4f1eea4c7cd860e5005f (diff) | |
parent | ca04198f48b083e2eafb188bfe1a9a6815ef6771 (diff) |
Merge pull request #56 from anomalous69/anomalous69-fixdead
Quick fix for http: panic serving on home post fchan.xyz death
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |