shiori/internal/webserver
Felipe Martin Garcia fb0bf38b7e
feat: async content download when creating via api (#368)
* feat: async content download when creating via api

Invoking the content download code in a goroutine after saving the
bookmark, this way we can return a response to the user quickly while
the webpage is donwloaded and archived.

Cache api endpont (/api/cache) remains untouched until I understand
the logic behind it.

Also updated the API endpoint for the extension, though I'm unsure why
there's a difference between the "regular" API and the webext API,
they should be using the same APIs.
2022-02-13 21:09:42 +01:00
..
assets-dev.go Initial new web interfaces 2019-05-27 17:01:53 +07:00
assets-prod.go hotfix: fixes session duration from #346 2022-02-11 16:00:38 +01:00
handler-api-ext.go feat: async content download when creating via api (#368) 2022-02-13 21:09:42 +01:00
handler-api.go feat: async content download when creating via api (#368) 2022-02-13 21:09:42 +01:00
handler-ui.go fix: golangci-lint errors (#366) 2022-02-13 16:38:27 +01:00
handler.go Move warc to another package 2019-10-09 20:10:12 +07:00
server.go Initial support for subpath #39 2019-10-07 13:38:40 +07:00
utils.go wrap mime.TypeByExtension with preset mimetypes 2019-10-21 20:16:50 -07:00