mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FIX: Move the middleware
This commit is contained in:
parent
fffa285dbf
commit
9c9e0f5eca
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Plugin::Theme
|
|||
if File.exist?(public_dir)
|
||||
Rails.application.config.before_initialize do |app|
|
||||
app.middleware.insert_before(
|
||||
::ActionDispatch::Static,
|
||||
::Rack::Runtime,
|
||||
::ActionDispatch::Static,
|
||||
public_dir
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue