ActionController::RoutingError (No route matches [GET] "/serviceworker.js"):

Viewed 1243

Installed Rails 6.0.3. Ran rails new [app], started the server, loaded the homepage and the server logs are showing this routing error. Any ideas? Here's my routes file which I haven't touched.

Rails.application.routes.draw do
  # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end
2 Answers

Going into Chrome's Dev Tools > Application > Clear Storage fixed my issue.

Related