forked from go-shiori/shiori
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: async content download when creating via api (go-shiori#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.
- Loading branch information
Showing
3 changed files
with
74 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters