Skip to content

Commit

Permalink
🐛 Fix: not encode before uploading an image with url
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Nov 4, 2020
1 parent ddf645f commit c0aee32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const getFSFile = async (filePath: string): Promise<IPathTransformedImgIn
export const getURLFile = async (url: string): Promise<IPathTransformedImgInfo> => {
const requestOptions = {
method: 'GET',
url,
url: handleUrlEncode(url),
encoding: null
}
let isImage = false
Expand Down

0 comments on commit c0aee32

Please sign in to comment.