- Block file downloads and previews with a 424 StatusFailedDependency if file processing failed or the box has issues. - Register routes for `/service-worker.js` and `/share-target` to support PWA features. - Update README.md with an AI usage disclosure.
41 lines
927 B
JSON
41 lines
927 B
JSON
{
|
|
"name": "WarpBox",
|
|
"short_name": "WarpBox",
|
|
"description": "Simple file sharing and fast download links. Upload files, generate share links, and serve clean download pages.",
|
|
"start_url": "/",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"background_color": "#0b0b16",
|
|
"theme_color": "#8b5cf6",
|
|
"share_target": {
|
|
"action": "/share-target",
|
|
"method": "POST",
|
|
"enctype": "multipart/form-data",
|
|
"params": {
|
|
"title": "title",
|
|
"text": "text",
|
|
"url": "url",
|
|
"files": [
|
|
{
|
|
"name": "files",
|
|
"accept": ["*/*"]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"icons": [
|
|
{
|
|
"src": "/static/android-chrome-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/static/android-chrome-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
}
|
|
]
|
|
}
|