-
Notifications
You must be signed in to change notification settings - Fork 56
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
Force urls to have a trailing slash #89
Comments
@rwwagner90 I could see scenarios where this would cause issues. What is the benefit? Also, if this is a feature that the community wants, using |
@yowainwright the benefit is to require slashes in urls for static sites. I'm using prember, which needed this tweak.
|
I've just come across this issue too, @rwwagner90 👍 @yowainwright for context, the issue for me is an SEO one - omitting the trailing slash means that Google isn't discovering the actual page. |
Ember has now dropped node 4 support as well, so this should be good to go. If you guys are open to it, I can open a PR. |
@rwwagner90 I'm guessing this is a global flag? |
@snewcomer yeah, would need a way to turn it off and on |
@snewcomer any thoughts on if we want to implement this? At the very least, we could document how to do this in the README. |
I have been working on converting my app to use prember, and I had a need to force trailing slashes. I am extending the router-scroll location type to achieve this. Would there be interest in adding support here directly with a flag to enable?
The text was updated successfully, but these errors were encountered: