docbrown/app/views/service_worker/manifest.json.erb
Ben Halpern 585d672742
Replace serviceworker-rails gem with custome implementation (#4987) [deploy]
* Customize UserContext in Timber logs

* Replace serviceworker-rails gem with custome implementation
2019-12-03 08:50:56 -05:00

26 lines
826 B
Text

{
"name": "<%= ApplicationConfig["COMMUNITY_NAME"] %> Community",
"short_name": "dev.to",
"description": "Where programmers share ideas, experiences, and help each other grow.",
"start_url": "/",
"display": "standalone",
"background_color": "#000000",
"theme_color": "#000000",
"homepage_url": "<%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %>",
"icons": [{
"src": "<%= image_path "devlogo-pwa-192.png" %>",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
}, {
"src": "<%= image_path "devlogo-pwa-128.png" %>",
"sizes": "128x128",
"type": "image/png",
"purpose": "any maskable"
}, {
"src": "<%= image_path "devlogo-pwa-512.png" %>",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
}]
}