Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Absolute file URLs are not handled correctly on Windows #1123

Open
wartmanm opened this issue Jan 23, 2019 · 0 comments
Open

Absolute file URLs are not handled correctly on Windows #1123

wartmanm opened this issue Jan 23, 2019 · 0 comments

Comments

@wartmanm
Copy link

development-server.js strips off the leading "file://", which leaves a path like "/C:/path/to/file" that Windows doesn't understand:
image
I think this could be fixed trivially by replacing url.replace("file://", "") with the built-in url.fileURLToPath function, but I'm not sure if the minimum supported version of Node would be new enough to provide it?

@claim claim bot added the not-available label Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant