Picture of Michael Lee

Changing an ember-cli app's locationType

Written on July 14, 2015

This was driving me nuts. Since by default the ember-cli will set locationType to auto. Which I assume will leave it up to the app to determine whether the browser has support for session history. Only problem is this wasn’t working for me. I do know ember’s hashLocation did work for me in the past, so I changed locationType to hash.

Stay in touch

Thanks for reading this article. I'd love to stay in touch and share more tips on programming and side projects with you. Sign up and I'll send you my articles straight to your email, you'll also get a free copy of the light themed version of my Git cheat sheet for free.
Git cheat sheet preview image