feat(backend): reading progress upsert + listing, path-keyed survival
This commit is contained in:
@@ -41,5 +41,7 @@ func NewRouter(cfg *config.Config, st *store.Store, rdb *redispkg.R, sc *scanner
|
||||
p.GET("/books/:id/file", a.serveFile)
|
||||
p.GET("/books/:id/pages", a.pagesCount)
|
||||
p.GET("/books/:id/pages/:n", a.page)
|
||||
p.PUT("/books/:id/progress", a.putProgress)
|
||||
p.GET("/progress", a.listProgress)
|
||||
return r
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user