diff --git a/app/views/layouts/shared/_head.html.erb b/app/views/layouts/shared/_head.html.erb index b83e4ccd7..550b61eaa 100644 --- a/app/views/layouts/shared/_head.html.erb +++ b/app/views/layouts/shared/_head.html.erb @@ -23,9 +23,7 @@ <%= yield :head %> - <% if Current.account %> - - <% end %> + diff --git a/app/views/pwa/manifest.json.erb b/app/views/pwa/manifest.json.erb index e67cbb8e6..fc7777836 100644 --- a/app/views/pwa/manifest.json.erb +++ b/app/views/pwa/manifest.json.erb @@ -1,6 +1,5 @@ -<% account = Account.find_by_external_account_id!(request.env["fizzy.external_account_id"]) rescue nil %> { - "name": <%= [ "Fizzy", account&.name, Rails.env.production? ? nil : Rails.env ].compact.join(" - ").to_json.html_safe %>, + "name": <%= [ "Fizzy", Rails.env.production? ? nil : Rails.env ].compact.join(" - ").to_json.html_safe %>, "icons": [ { "src": "/app-icon-192.png", @@ -19,9 +18,9 @@ "purpose": "maskable" } ], - "start_url": "<%= root_path %>", + "start_url": "/", "display": "standalone", - "scope": "<%= root_path %>", + "scope": "/", "description": "Card-up the biggest issues in your projects", "categories": ["bugs", "business", "productivity"], "shortcuts": [