1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Provide env flag to disable asset caching, for CSS testing

This commit is contained in:
Mike Perham 2021-06-22 10:33:33 -07:00
parent 5f927ba14b
commit bfa233b454
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,6 @@
# turns off browser asset caching so we can test CSS changes quickly
ENV['SIDEKIQ_WEB_TESTING'] = '1'
require 'sidekiq/web'
Sidekiq::Web.app_url = '/'