Skip to content

Refresh problem when using html5Mode #3

@aguzinski

Description

@aguzinski

Hi,
Today I added html5Mode to the angular part of your app, so there is no /#!/ in the url path. Unfortunately the well known issue appears when I try to refresh the page at localhost:8080/messages I get an error saying: Cannot GET /messages. I have tried adding a to the index.html file, and a middleware to json-server that would serve the static html files, but it doesn't work. Is there any chance you could point me in the right direction please?

Thanks,
Adrian

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