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

Hash paths forced when using Appcache #12

Open
fungilation opened this issue Nov 18, 2014 · 2 comments
Open

Hash paths forced when using Appcache #12

fungilation opened this issue Nov 18, 2014 · 2 comments

Comments

@fungilation
Copy link

Line 30 on https://github.com/EventedMind/iron-location/blob/master/lib/location.js, overriding default even with

Iron.Location.configure
    useHashPaths: false

Is this intended behaviour? This was not the case before IR 1.0. I'd like to not use hash paths (/#/blah) and use normal routes (/blah) together with Appcache.

@tmeasday
Copy link
Contributor

Hi @fungilation ,

Here's the justification: https://groups.google.com/forum/#!topic/meteor-core/bUTOXugc5qE

I agree that you should be able to override it if you want though.

@fungilation
Copy link
Author

Ya I found that afterwards. The bug isn't of concern to me though as an app with or without cordova, I don't have an use case to back up correctly in browser history. Like you said, this should default to useHashPaths: true but configurable. The way useHashPaths is forced to not be configurable under this circumstance is also not obvious or documented.

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

2 participants