Only render the manifest link for tenanted URLs

This commit is contained in:
Mike Dalessio
2025-10-02 12:41:41 -04:00
parent ad74c7875f
commit 7129b711f1
+3 -1
View File
@@ -19,7 +19,9 @@
<%= tenanted_action_cable_meta_tag %>
<%= yield :head %>
<link rel="manifest" href="<%= pwa_manifest_path(format: :json) %>">
<% if ApplicationRecord.current_tenant %>
<link rel="manifest" href="<%= pwa_manifest_path(format: :json) %>">
<% end %>
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.png" type="image/png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">