major overhaul, including:
Some checks failed
continuous-integration/drone/push Build is failing

* builds with echo now instead of gin
* beginning of web UI
* factor out util functions
This commit is contained in:
2020-03-30 16:05:53 -07:00
parent 9655265d85
commit 06df947186
17 changed files with 447 additions and 113 deletions

View File

@@ -58,5 +58,7 @@ func (ti *TootIngester) storeToot(t *toot.Toot) {
if ti.storageBackend == nil {
panic("no storage backend")
}
ti.storageBackend.StoreToot(t)
if !ti.storageBackend.TootExists(t) {
ti.storageBackend.StoreToot(t)
}
}