A platform for community discussion. Free, open, simple.
FIX: Include hostname in extra-locales URLs (#31477)
David Taylor573fbeef64f0
diff --git a/app/controllers/extra_locales_controller.rb b/app/controllers/extra_locales_controller.rbindex e1e49fb5b7d..367dd221b7b 100644--- a/app/controllers/extra_locales_controller.rb+++ b/app/controllers/extra_locales_controller.rb@@ -41,7 +41,7 @@ class ExtraLocalesController < ApplicationControllerenddef url(bundle)- "#{GlobalSetting.cdn_url}#{Discourse.base_path}/extra-locales/#{bundle}?v=#{bundle_js_hash(bundle)}"+ "#{GlobalSetting.cdn_url}#{Discourse.base_path}/extra-locales/#{bundle}?v=#{bundle_js_hash(bundle)}&__ws=#{Discourse.current_hostname}"enddef client_overrides_exist?