46 lines
989 B
JSON
46 lines
989 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/web-manifest.json",
|
|
"short_name": "Gallery",
|
|
"name": "Personal Gallery App",
|
|
"icons": [
|
|
{
|
|
"src": "favicon.ico",
|
|
"sizes": "48x48",
|
|
"type": "image/x-icon"
|
|
},
|
|
{
|
|
"src": "android-chrome-192x192.png",
|
|
"type": "image/png",
|
|
"sizes": "192x192"
|
|
},
|
|
{
|
|
"src": "android-chrome-512x512.png",
|
|
"type": "image/png",
|
|
"sizes": "512x512"
|
|
},
|
|
{
|
|
"src": "maskable_icon.png",
|
|
"sizes": "1024x1024",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
}
|
|
],
|
|
"start_url": ".",
|
|
"display": "standalone",
|
|
"theme_color": "#000000",
|
|
"background_color": "#ffffff",
|
|
"share_target": {
|
|
"action": "/api/images",
|
|
"method": "POST",
|
|
"enctype": "multipart/form-data",
|
|
"params": {
|
|
"files": [
|
|
{
|
|
"name": "file",
|
|
"accept": ["image/png","image/webp","image/gif","image/avif","image/jpeg"]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|