1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00
Commit Graph

4 Commits

Author SHA1 Message Date
makeworld
dd7550dffb Add pagination 2020-12-06 20:57:57 -05:00
makeworld
1a2fba92c2 Add subscription manager, fix corrupt read/write & short URI panic
More info on corrupt reads and writes:
https://github.com/makeworld-the-better-one/amfora/issues/61#issuecomment-735042805

The panic was occuring due to lines like:

    if u[:6] == "about:"

These would cause panics for URIs that were shorter than 6, like "docs/".
strings.HasPrefix was used instead to fix this.
2020-12-05 20:35:15 -05:00
makeworld
62102d4f98 Add handleAbout() 2020-11-27 18:25:17 -05:00
makeworld
5722c50432 Move funcs to handlers.go 2020-11-27 17:57:19 -05:00