add updateGeminiPage and refactor newGeminiPage to use updateGeminiPage.

This commit is contained in:
nytpu
2021-03-17 08:43:19 -06:00
parent 09c1c4caab
commit f9428c3e0e
2 changed files with 23 additions and 13 deletions
+1 -3
View File
@@ -66,9 +66,7 @@ func UpdateFeed(f *core.Feed) error {
func UpdatePage(p *core.Page) error {
switch p.Link.Scheme {
case "gemini":
// return updateGeminiPage(p)
// TODO
fallthrough
return updateGeminiPage(p)
case "http", "https":
// return updateHTTPPage(p)
// TODO