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

Absolute file URLs are not handled correctly on Windows #1123

Description

@wartmanm

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Jira

    None yet

    Severity

    None yet

    Estimate

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions