mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-17 13:21:44 +01:00
update pwa manifest
This commit is contained in:
parent
11f5f4bf9c
commit
7211690522
@ -29,9 +29,10 @@ export default defineConfig({
|
||||
name: "noStrudel",
|
||||
short_name: "noStrudel",
|
||||
description: "A sandbox for exploring nostr",
|
||||
orientation: "any",
|
||||
display: "standalone",
|
||||
orientation: "portrait-primary",
|
||||
theme_color: "#8DB600",
|
||||
categories: ["nostr"],
|
||||
categories: ["social"],
|
||||
icons: [
|
||||
{ src: "/favicon.ico", type: "image/x-icon", sizes: "16x16 32x32" },
|
||||
{ src: "/icon-192.png", type: "image/png", sizes: "192x192" },
|
||||
@ -39,18 +40,51 @@ export default defineConfig({
|
||||
{ src: "/icon-192-maskable.png", type: "image/png", sizes: "192x192", purpose: "maskable" },
|
||||
{ src: "/icon-512-maskable.png", type: "image/png", sizes: "512x512", purpose: "maskable" },
|
||||
],
|
||||
// TODO: actually handle this share data
|
||||
// @ts-ignore
|
||||
share_target: {
|
||||
action: "/share",
|
||||
method: "GET",
|
||||
enctype: "application/x-www-form-urlencoded",
|
||||
params: {
|
||||
title: "title",
|
||||
text: "text",
|
||||
url: "url",
|
||||
lang: "en",
|
||||
start_url: "/",
|
||||
scope: "/",
|
||||
shortcuts: [
|
||||
{
|
||||
name: "Notifications",
|
||||
url: "/#/notifications",
|
||||
description: "",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Notes",
|
||||
url: "/#/",
|
||||
description: "",
|
||||
},
|
||||
{
|
||||
name: "Notifications",
|
||||
url: "/#/notifications",
|
||||
description: "",
|
||||
},
|
||||
{
|
||||
name: "Messages",
|
||||
url: "/#/dm",
|
||||
description: "",
|
||||
},
|
||||
{
|
||||
name: "Streams",
|
||||
url: "/#/streams",
|
||||
description: "",
|
||||
},
|
||||
{
|
||||
name: "Wiki",
|
||||
url: "/#/wiki",
|
||||
description: "",
|
||||
},
|
||||
],
|
||||
protocol_handlers: [
|
||||
{
|
||||
protocol: "web+nostr",
|
||||
url: "/l/%s",
|
||||
},
|
||||
{
|
||||
protocol: "nostr",
|
||||
url: "/l/%s",
|
||||
},
|
||||
],
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user