Ad

ActionController::RoutingError (No Route Matches [GET] "/serviceworker.js"):

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
Ad

Answer

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

Ad
source: stackoverflow.com
Ad