denisdefreyne/adsf

Can we stop using flash via rack live-reload ?

Fjan opened this issue · 0 comments

Fjan commented

The adsf-live gem relies on Rack::LiveReload, which by default still loads swfobject.js as a fall back for browsers that do not support web sockets. This is unlikely to be of use to anyone anymore in 2022, Flash has been deprecated long ago.

While it would be better if the rack -livereload gem changed it's behaviour I don't think they will; the repo sees very few updates and does not accept issue reports. However, we could simply fix it from here by adding the parameter no_swf: true on the call to Rack::LiveReload (in lib/adsf/server.rb:66)