Ask A Question

Notifications

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!

Reply

Thanks Martin in the GoRails Slack group for helping me out:
https://love2dev.com/blog/how-to-uninstall-a-service-worker/

Reply
Join the discussion
Create an account Log in

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

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

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