Skip to content

$locationProvider.html5Mode(true) #25

Description

@vikashait

The main problem (not sure if you faced) is trailing # in the url.

http://example.com/#/myProfile

The way to remove it to add adding $locationProvider.html5Mode(true) to route provider

http://example.com/myProfile

in the route provider. But this is breaking the routing when user try to refresh a browser. Play complains that the routes file is missing that route which is actually defined in route Provider not Server side routes file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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