Skip to content

Commit

Permalink
Make this a suggestion instead of a default
Browse files Browse the repository at this point in the history
Otherwise Chrome is going to prompt automatically to install the app as
a web app. Thats a bit too much out of the box.
  • Loading branch information
dhh committed Sep 1, 2024
1 parent 5c0b749 commit 63be97b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Rails.application.routes.draw do

<%- unless options.api? -%>
# Render dynamic PWA files from app/views/pwa/*
get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker
get "manifest" => "rails/pwa#manifest", as: :pwa_manifest
# get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker
# get "manifest" => "rails/pwa#manifest", as: :pwa_manifest

<%- end -%>
# Defines the root path route ("/")
Expand Down

0 comments on commit 63be97b

Please sign in to comment.