-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/anki/ankiclient: send files using base64 over json
Use base64 encoding to send files to Anki. This has the benefit of bypassing filesystem restrictions when using local files. It comes at the cost of sending 33% more data. For the small file sizes being delt with, this is unimportant. This also fixes the rare case where the AnkiConnect server is on a different computer than Memento. Closes #189
- Loading branch information
Showing
2 changed files
with
29 additions
and
16 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