pass base64 flag in coverUrl | Book.coverUrl() hardcoded with blob ? No Base 64 #1219
Open
aneesijaz wants to merge 1 commit intofuturepress:masterfrom
Open
pass base64 flag in coverUrl | Book.coverUrl() hardcoded with blob ? No Base 64 #1219aneesijaz wants to merge 1 commit intofuturepress:masterfrom
aneesijaz wants to merge 1 commit intofuturepress:masterfrom
Conversation
Contributor
|
Sorry for the delay reviewing, this looks great but would it be possible to update this without the eslint formatting changes? |
Author
sure why not ... |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
I am working on electron based application (an embedded express server in electron wrapper) and I am getting the blob url something like blob:localhost:3000/ ...
I just saw the code and looks like the createUrl method inside the coverUrl does not have second parameter and it defaults to blob always but I need base64 so I passed
{ replacements: "base64" }and a little change to recipe got it working ...Problem
Solution
Is there any issue passing the 2nd argument containing base64 flag ? like in the other versions ?
something like :
Note: There are some indentation changes showing up and I think Test cases might also have to be updated but I didn't ...
And I don't have any experience of contributing so if it fits in then good .. if not then Excuse me .. :)