Skip to content

Fallback server doesn't work for nested routes #207

@agubler

Description

@agubler

Bug

The fallback server that rewrites requests to the root index.html used during the serve option doesn't work for nested routes such as localhost:999/about/company. This is because the script, css (and other) resources are requested from that path.

We need to rewrite everything to serve from the root of the application, so that if a request for /about/main.js is received it re-writes it to use the real `main.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugnextIssue/Pull Request for the next major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions