« All deprecation guides
Deprecation Guide for Base URL
until: 3.0.0
id: base-url
The usage of baseURL setting in config/environments.js has been deprecated in favor of using
an explicit rootURL. A detailed explanation of the problem and the migration path can be found in
this blog post.
Migration for pre-2.7 applications is:
- Update
config/environment.jsto remove reference tobaseURLand update torootURL. - Update
app/index.htmlto add{{rootURL}}a the beginning of all assets that are loaded. - Update the
app/router.jsto passrootURLto the subclass ofEmber.Routerbeing created.
More detailed descriptions of this migration can be found on the blog: here