Add progressive web app manifest

This commit is contained in:
Michael Mayer 2019-05-22 13:14:39 +02:00
parent 4193c575ea
commit 2d085586cb
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{
"short_name": "PhotoPrism",
"name": "PhotoPrism: Browse your life in pictures",
"icons": [
{
"src": "/assets/favicons/favicon.png",
"sizes": "723x729",
"type": "image/png"
}
],
"scope": "/",
"start_url": "/photos",
"display": "standalone",
"orientation": "portrait",
"theme_color": "#424242",
"background_color": "#424242"
}

View file

@ -29,6 +29,7 @@
<link rel="icon" type="image/png" href="/assets/favicons/favicon.png"/>
<link rel="stylesheet" href="/assets/build/app.css?{{ .cssHash }}">
<link rel="manifest" href="/assets/manifest.json">
<script>
window.appConfig = {