dd4432452c
Go определяет .webmanifest как text/plain, из-за чего браузер мог отказаться ставить приложение: тип задаём явно вместе с js/css/svg.
30 lines
936 B
JSON
30 lines
936 B
JSON
{
|
|
"name": "glchat",
|
|
"short_name": "glchat",
|
|
"description": "glchat — self-hosted платформа общения: серверы, комнаты, голос и файлы",
|
|
"lang": "ru",
|
|
"dir": "ltr",
|
|
"start_url": "/app",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"display_override": ["window-controls-overlay", "standalone"],
|
|
"orientation": "any",
|
|
"background_color": "#1a1b1e",
|
|
"theme_color": "#1a1b1e",
|
|
"categories": ["social", "communication"],
|
|
"icons": [
|
|
{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png" },
|
|
{ "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png" },
|
|
{
|
|
"src": "/icons/maskable-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
}
|
|
],
|
|
"shortcuts": [
|
|
{ "name": "Друзья", "url": "/app/friends" },
|
|
{ "name": "Настройки", "url": "/settings/account/profile" }
|
|
]
|
|
}
|