Disable rack-livereload’s swf fallback (development)
Prevents the flash of a flash <object> when loading the page.
This commit is contained in:
parent
9faf2227ae
commit
201ca9ac26
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ Rails.application.configure do
|
|||
config.middleware.insert_after(
|
||||
ActionDispatch::Static,
|
||||
Rack::LiveReload,
|
||||
no_swf: true,
|
||||
min_delay: 500, # default 1000
|
||||
max_delay: 10_000, # default 60_000
|
||||
live_reload_port: 35_738
|
||||
|
|
Loading…
Reference in a new issue