DEV: Change `locationType` to `history`. (#17152)
`auto` value is deprecated, and we never really supported `hash` (which was the type `auto` was falling back into)
This commit is contained in:
parent
1c6f8f8a36
commit
321118f384
|
@ -5,7 +5,7 @@ module.exports = function (environment) {
|
|||
modulePrefix: "discourse",
|
||||
environment,
|
||||
rootURL: process.env.DISCOURSE_RELATIVE_URL_ROOT || "/",
|
||||
locationType: "auto",
|
||||
locationType: "history",
|
||||
historySupportMiddleware: false,
|
||||
EmberENV: {
|
||||
FEATURES: {
|
||||
|
|
|
@ -20,7 +20,7 @@ module ApplicationHelper
|
|||
modulePrefix: "discourse",
|
||||
environment: Rails.env,
|
||||
rootURL: Discourse.base_path,
|
||||
locationType: "auto",
|
||||
locationType: "history",
|
||||
historySupportMiddleware: false,
|
||||
EmberENV: {
|
||||
FEATURES: {},
|
||||
|
|
Loading…
Reference in New Issue