I have created a new protocol handler and am trying to get files to load on windows. They load fine in linux. I tried replacing the windows \ path with / but that does not work. The error i get is net:ERR_UNEXPECTED
Here is the custom file handler:
return net.fetch('file://' + request.url.slice('media://'.length))
})```