From da11b4fad126ceb793476e5ebefc5d0b3538f559 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Sun, 14 Apr 2024 01:30:17 +0100 Subject: [PATCH] feat(indiekit): update web app manifest --- packages/indiekit/lib/controllers/manifest.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/indiekit/lib/controllers/manifest.js b/packages/indiekit/lib/controllers/manifest.js index 1866354ff..9e08bcc0a 100644 --- a/packages/indiekit/lib/controllers/manifest.js +++ b/packages/indiekit/lib/controllers/manifest.js @@ -9,6 +9,7 @@ export const get = async (request, response) => { $schema: "https://json.schemastore.org/web-manifest-combined.json", lang: application.locale, name: application.name, + scope: "/", icons: [ { src: "assets/app-icon-192-any.png", @@ -29,9 +30,12 @@ export const get = async (request, response) => { purpose: "maskable", }, ], - shortcuts: getShortcuts(application, response), + display: "standalone", + start_url: "/?homescreen", + id: "/?homescreen", theme_color: getThemeColor(application.themeColor), background_color: getBackgroundColor(application.themeColor), + shortcuts: getShortcuts(application, response), ...(application.shareEndpoint && { share_target: { action: application.shareEndpoint,