Skip to content

404 page generated via static-adapter fails to load when running in preview mode #123

Open
@dsathyakumar

Description

@dsathyakumar

I was trying the example under:
https://github.com/marko-js/run/tree/main/examples/static

When this is run in the dev server mode, /nowhere redirects properly to the 404 page.
However, when run in preview mode, /nowhere doesn't redirect to the 404 page.
It takes the user to a http://localhost coded here:
https://github.com/marko-js/run/blob/main/packages/adapters/static/src/crawler.ts#L23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions