locationpublic
The location
property determines the type of URL's that your application will use.
The following location types are currently available:
-
history
- use the browser's history API to make the URLs look just like any standard URL -
hash
- use#
to separate the server part of the URL from the Ember part:/blog/#/posts/new
-
none
- do not store the Ember URL in the actual browser URL (mainly used for testing) -
auto
- use the best option based on browser capabilites:history
if possible, thenhash
if possible, otherwisenone
Note: If using ember-cli, this value is defaulted to auto
by the locationType
setting of /config/environment.js
Default: 'hash'
Please login to continue.