The inability to use fetch() on file:// URLs is a deliberate security feature called the . If a malicious website could read any file from your hard drive, your personal data would be at risk. Fortunately, developers have created several powerful workarounds for legitimate use cases.
Source: Deno 1.16 Release Notes
The string "fetch-url-file-3A-2F-2F-2F" represents an encoded URL ( ) using hexadecimal representations, where translates to a colon and fetch-url-file-3A-2F-2F-2F
Here's what the code might look like in different environments and libraries. The inability to use fetch() on file:// URLs