about summary refs log tree commit diff
path: root/app/views/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/manifests')
-rw-r--r--app/views/manifests/show.json.rabl11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/manifests/show.json.rabl b/app/views/manifests/show.json.rabl
new file mode 100644
index 000000000..0aa1728e7
--- /dev/null
+++ b/app/views/manifests/show.json.rabl
@@ -0,0 +1,11 @@
+object false
+
+node(:name)             { Setting.site_title }
+node(:short_name)       { Setting.site_title }
+node(:description)      { strip_tags(Setting.site_description.presence || I18n.t('about.about_mastodon')) }
+node(:icons)            { [{ src: '/android-chrome-192x192.png', sizes: '192x192', type: 'image/png' }] }
+node(:theme_color)      { '#282c37' }
+node(:background_color) { '#d9e1e8' }
+node(:display)          { 'standalone' }
+node(:start_url)        { '/web/timelines/home' }
+node(:scope)            { root_url }