Skip to content

Commit d0f8300

Browse files
authored
Use json format for manifest URL (rails#52948)
1 parent 87bee36 commit d0f8300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<%%= yield :head %>
1212

1313
<%%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
14-
<%%#= tag.link rel: "manifest", href: pwa_manifest_path %>
14+
<%%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>
1515

1616
<link rel="icon" href="/icon.png" type="image/png">
1717
<link rel="icon" href="/icon.svg" type="image/svg+xml">

0 commit comments

Comments
 (0)