-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Better reverse proxy strategy for images. (#84)
* feat: use assets to save images * feat: use base64 to sent images * fix: re-add Logger * fix: add Result field "buffer" * feat: add error handler of base64 * refactor: Convert images to base64 in method * chore: change unique file type specifiers * refactor: use axios and return a valid mime tag * docs: add a link about assets service * chore: change return null and timestamp * chore: remove field * chore: declare using @koishijs/assets * chore: declare option service * fix: Handling exceptions when dumping images * fix: add type annotation and format error message. * fix: remove redundant protocol headers. * Update packages/core/src/index.ts --------- Co-authored-by: Maiko Sinkyaet Tan <maiko.tan.coding@gmail.com>
- Loading branch information
1 parent
59d186b
commit a18b8f7
Showing
3 changed files
with
45 additions
and
0 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