Skip to content

Commit da11b4f

Browse files
feat(indiekit): update web app manifest
1 parent c1d8394 commit da11b4f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/indiekit/lib/controllers/manifest.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const get = async (request, response) => {
99
$schema: "https://json.schemastore.org/web-manifest-combined.json",
1010
lang: application.locale,
1111
name: application.name,
12+
scope: "/",
1213
icons: [
1314
{
1415
src: "assets/app-icon-192-any.png",
@@ -29,9 +30,12 @@ export const get = async (request, response) => {
2930
purpose: "maskable",
3031
},
3132
],
32-
shortcuts: getShortcuts(application, response),
33+
display: "standalone",
34+
start_url: "/?homescreen",
35+
id: "/?homescreen",
3336
theme_color: getThemeColor(application.themeColor),
3437
background_color: getBackgroundColor(application.themeColor),
38+
shortcuts: getShortcuts(application, response),
3539
...(application.shareEndpoint && {
3640
share_target: {
3741
action: application.shareEndpoint,

0 commit comments

Comments
 (0)