Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$locationProvider.html5Mode(true) #25

Open
vikashait opened this issue Jul 11, 2014 · 3 comments
Open

$locationProvider.html5Mode(true) #25

vikashait opened this issue Jul 11, 2014 · 3 comments

Comments

@vikashait
Copy link

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.

@malterb
Copy link

malterb commented Oct 30, 2014

any fix for this?

@amilosmanli
Copy link

@vikashait @elmalto Did any of you find any solution for this?

@mikeandersun
Copy link

any fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants