mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:12:45 +08:00
FIX: access to styleguide in subfolder install (#12995)
This commit is contained in:
parent
7f90d0a7bb
commit
f337d59ed9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user