Skip to content

Home page always being returned #561

@bruno-silva5

Description

@bruno-silva5

Bug Report

Current Behavior
I simply created a create-react-app (using React17) and installed react-snap and react-router-dom. Then I created some simple routes and pages (About, Contact, Home).

After properly configuring the react-snap. I created the static HTML files. But when I access the website with javascript disable, always the Home page is being returned.

For example. If I go to '/about', with Javascript disabled. The HTML of the main page is being returned, even though there is a HTML for the '/about' page.

Reproducible demo
Link to GitHub repository or codesandbox with a demo of the bug behavior.

Expected behavior/code
Expected to return the static HTML for the corresponding route

Additional context/Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions