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",
|
modulePrefix: "discourse",
|
||||||
environment,
|
environment,
|
||||||
rootURL: process.env.DISCOURSE_RELATIVE_URL_ROOT || "/",
|
rootURL: process.env.DISCOURSE_RELATIVE_URL_ROOT || "/",
|
||||||
locationType: "auto",
|
locationType: "history",
|
||||||
historySupportMiddleware: false,
|
historySupportMiddleware: false,
|
||||||
EmberENV: {
|
EmberENV: {
|
||||||
FEATURES: {
|
FEATURES: {
|
||||||
|
|
|
@ -20,7 +20,7 @@ module ApplicationHelper
|
||||||
modulePrefix: "discourse",
|
modulePrefix: "discourse",
|
||||||
environment: Rails.env,
|
environment: Rails.env,
|
||||||
rootURL: Discourse.base_path,
|
rootURL: Discourse.base_path,
|
||||||
locationType: "auto",
|
locationType: "history",
|
||||||
historySupportMiddleware: false,
|
historySupportMiddleware: false,
|
||||||
EmberENV: {
|
EmberENV: {
|
||||||
FEATURES: {},
|
FEATURES: {},
|
||||||
|
|
Loading…
Reference in New Issue