mirror of
https://github.com/traberph/short.git
synced 2026-11-22 22:55:12 +00:00
PWA functionality
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function manifest(): MetadataRoute.Manifest {
|
||||
return {
|
||||
name: "traberph/short",
|
||||
short_name: "short",
|
||||
description: "A URL shortener",
|
||||
start_url: "/~/dash",
|
||||
display: "standalone",
|
||||
theme_color: "#111827",
|
||||
background_color: "#111827",
|
||||
icons: [
|
||||
{
|
||||
src:'/icon-192x192.png',
|
||||
sizes: '192x192',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src:'/icon-512x512.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
},
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user