mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
cleanup
This commit is contained in:
parent
64f70339d1
commit
f0a20b1a5e
1 changed files with 5 additions and 5 deletions
|
@ -144,11 +144,11 @@ module Sidekiq
|
|||
m = middlewares
|
||||
|
||||
::Rack::Builder.new do
|
||||
use Rack::Static, :urls => ["/stylesheets", "/images", "/javascripts"],
|
||||
:root => ASSETS,
|
||||
:cascade => true,
|
||||
:header_rules => [
|
||||
[:all, {'Cache-Control' => 'public, max-age=86400'}],
|
||||
use Rack::Static, urls: ["/stylesheets", "/images", "/javascripts"],
|
||||
root: ASSETS,
|
||||
cascade: true,
|
||||
header_rules: [
|
||||
[:all, {"Cache-Control" => "public, max-age=86400"}]
|
||||
]
|
||||
m.each { |middleware, block| use(*middleware, &block) }
|
||||
use Sidekiq::Web::CsrfProtection unless $TESTING
|
||||
|
|
Loading…
Reference in a new issue