Skip to content

Commit

Permalink
feat(indiekit): update web app manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Apr 15, 2024
1 parent c1d8394 commit da11b4f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/indiekit/lib/controllers/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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,
Expand Down

0 comments on commit da11b4f

Please sign in to comment.