A platform for community discussion. Free, open, simple.
DEV: Change `locationType` to `history`. (#17152)
Jarek Radosz321118f38417
diff --git a/app/assets/javascripts/discourse/config/environment.js b/app/assets/javascripts/discourse/config/environment.jsindex 41568254493..f16ed53743c 100644--- a/app/assets/javascripts/discourse/config/environment.js+++ b/app/assets/javascripts/discourse/config/environment.js@@ -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: {diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rbindex f069f5560c1..82b29b7ddaa 100644--- a/app/helpers/application_helper.rb+++ b/app/helpers/application_helper.rb@@ -20,7 +20,7 @@ module ApplicationHelpermodulePrefix: "discourse",environment: Rails.env,rootURL: Discourse.base_path,- locationType: "auto",+ locationType: "history",historySupportMiddleware: false,EmberENV: {FEATURES: {},