Tom Lee


370 Experience
3 Lessons Completed
0 Questions Solved


Posted in Disable service worker?

Thanks Martin in the GoRails Slack group for helping me out:

Posted in Disable service worker?

Hi I have a brand new Rails app and it's making request to /service-worker.js/, resulting in some annoying ActionController::RoutingError (No route matches [GET] "/service-worker.js"):, while I think I can make an service-worker endpoint that does nothing to silence it, what is the Rails way to disable that for now?

Also, I can't find resource on Rails guide for this matter, do you mind suggesting some reading? Thanks!

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.