Disable rack-livereload’s swf fallback (development)

Prevents the flash of a flash <object> when loading the page.
This commit is contained in:
Felix Niklas 2016-11-23 14:06:20 +01:00
parent 9faf2227ae
commit 201ca9ac26

View file

@ -35,6 +35,7 @@ Rails.application.configure do
config.middleware.insert_after( config.middleware.insert_after(
ActionDispatch::Static, ActionDispatch::Static,
Rack::LiveReload, Rack::LiveReload,
no_swf: true,
min_delay: 500, # default 1000 min_delay: 500, # default 1000
max_delay: 10_000, # default 60_000 max_delay: 10_000, # default 60_000
live_reload_port: 35_738 live_reload_port: 35_738