mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +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
|
after_initialize do
|
||||||
register_asset_filter do |type, request, opts|
|
register_asset_filter do |type, request, opts|
|
||||||
(opts[:path] || '').start_with?('/styleguide')
|
(opts[:path] || '').start_with?("#{Discourse.base_path}/styleguide")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user