diff --git a/app/controllers/extra_locales_controller.rb b/app/controllers/extra_locales_controller.rb index cbecf402885..d0e4884fcc4 100644 --- a/app/controllers/extra_locales_controller.rb +++ b/app/controllers/extra_locales_controller.rb @@ -24,7 +24,7 @@ class ExtraLocalesController < ApplicationController def self.url(bundle) if Rails.env == "production" - "#{GlobalSetting.cdn_url}#{Discourse.base_uri}/extra-locales/#{bundle}?v=#{bundle_js_hash(bundle)}" + "#{Discourse.base_uri}/extra-locales/#{bundle}?v=#{bundle_js_hash(bundle)}" else "#{Discourse.base_uri}/extra-locales/#{bundle}" end diff --git a/config/initializers/006-mini_profiler.rb b/config/initializers/006-mini_profiler.rb index 8a0ceb8a1a8..737e3bbb0dc 100644 --- a/config/initializers/006-mini_profiler.rb +++ b/config/initializers/006-mini_profiler.rb @@ -25,6 +25,7 @@ if defined?(Rack::MiniProfiler) skip = [ /^\/message-bus/, + /^\/extra-locales/, /topics\/timings/, /assets/, /\/user_avatar\//,