mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Disable service worker caching by default (#25723)
Followup to c4559ae575
This commit is contained in:
@@ -319,7 +319,7 @@ RSpec.describe StaticController do
|
||||
get "/service-worker.js"
|
||||
expect(response.status).to eq(200)
|
||||
expect(response.content_type).to start_with("application/javascript")
|
||||
expect(response.body).to include("workbox")
|
||||
expect(response.body).to include("addEventListener")
|
||||
end
|
||||
|
||||
it "replaces sourcemap URL" do
|
||||
|
||||
Reference in New Issue
Block a user