16 changed files with 8320 additions and 3795 deletions
@ -0,0 +1,56 @@ |
|||||||
|
import type { RequestHandler } from '@sveltejs/kit'; |
||||||
|
|
||||||
|
export const prerender = true; |
||||||
|
|
||||||
|
export const GET: RequestHandler = async () => { |
||||||
|
const manifest = { |
||||||
|
name: 'aitherboard - Decentralized Messageboard on Nostr', |
||||||
|
short_name: 'aitherboard', |
||||||
|
description: 'A decentralized messageboard built on the Nostr protocol. Create threads, comment, react, and zap in a censorship-resistant environment.', |
||||||
|
theme_color: '#f1f5f9', |
||||||
|
background_color: '#ffffff', |
||||||
|
display: 'standalone', |
||||||
|
start_url: '/', |
||||||
|
scope: '/', |
||||||
|
icons: [ |
||||||
|
{ |
||||||
|
src: '/favicon.ico', |
||||||
|
sizes: '64x64', |
||||||
|
type: 'image/x-icon' |
||||||
|
}, |
||||||
|
{ |
||||||
|
src: '/apple-touch-icon-180x180.png', |
||||||
|
sizes: '180x180', |
||||||
|
type: 'image/png', |
||||||
|
purpose: 'any maskable' |
||||||
|
}, |
||||||
|
{ |
||||||
|
src: '/apple-touch-icon-152x152.png', |
||||||
|
sizes: '152x152', |
||||||
|
type: 'image/png' |
||||||
|
}, |
||||||
|
{ |
||||||
|
src: '/apple-touch-icon-144x144.png', |
||||||
|
sizes: '144x144', |
||||||
|
type: 'image/png' |
||||||
|
}, |
||||||
|
{ |
||||||
|
src: '/apple-touch-icon-120x120.png', |
||||||
|
sizes: '120x120', |
||||||
|
type: 'image/png' |
||||||
|
}, |
||||||
|
{ |
||||||
|
src: '/apple-touch-icon-114x114.png', |
||||||
|
sizes: '114x114', |
||||||
|
type: 'image/png' |
||||||
|
} |
||||||
|
] |
||||||
|
}; |
||||||
|
|
||||||
|
return new Response(JSON.stringify(manifest, null, 2), { |
||||||
|
headers: { |
||||||
|
'Content-Type': 'application/manifest+json', |
||||||
|
'Cache-Control': 'public, max-age=3600' |
||||||
|
} |
||||||
|
}); |
||||||
|
}; |
||||||
Loading…
Reference in new issue