-
Notifications
You must be signed in to change notification settings - Fork 811
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support reading data from blob URI (#645)
* Make blob as valid URL * Create function to detect the blob URI * Change to `isValidUrl` * Remove comment Co-authored-by: Joshua Lochner <[email protected]> * Merge `isValidHttpUrl` into `isValidUrl` * Correct implement * Update docs * Add test * Remove export for `isValidUrl` * Test read blob via `getFile` * Use `res.text()` instead `res.body` --------- Co-authored-by: Joshua Lochner <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
9 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