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:
Jarek Radosz 2022-06-20 15:41:53 +02:00 committed by GitHub
parent 1c6f8f8a36
commit 321118f384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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: {

View File

@ -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: {},