mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: access to styleguide in subfolder install (#12995)
This commit is contained in:
parent
7f90d0a7bb
commit
f337d59ed9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue