Skip to content

Can't navigate directly to route when pushState is true in Aurelia js, react js with backend server as .net 4.5 #664

@rick0907

Description

@rick0907

I have a below route configuration:
config.options.pushState = true;
config.options.root = "/";
config.options.hashChange = false;
url: applicationdomain.../displayData
this application working locally without any issue but after deploying it to the server, same URL giving me 404 on refresh or direct hit.
I read on the net that we need to configure the server to support the push state. however, I couldn't figure out what exactly I need to configure on .Net 4.5 server.

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