All threads / Disable service worker?

Ask A Question


You’re not receiving notifications from this thread.

Disable service worker?

Tom Lee asked in Rails

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!

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

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 46,687+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    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.