mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FIX: access to styleguide in subfolder install (#12995)
This commit is contained in:
@ -16,6 +16,6 @@ end
|
||||
|
||||
after_initialize do
|
||||
register_asset_filter do |type, request, opts|
|
||||
(opts[:path] || '').start_with?('/styleguide')
|
||||
(opts[:path] || '').start_with?("#{Discourse.base_path}/styleguide")
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user