parent
b0a7ee1aec
commit
ea63abf0f7
|
@ -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
|
||||
|
|
|
@ -25,6 +25,7 @@ if defined?(Rack::MiniProfiler)
|
|||
|
||||
skip = [
|
||||
/^\/message-bus/,
|
||||
/^\/extra-locales/,
|
||||
/topics\/timings/,
|
||||
/assets/,
|
||||
/\/user_avatar\//,
|
||||
|
|
Loading…
Reference in New Issue