aboutsummaryrefslogtreecommitdiff
path: root/viewer/public
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/public')
-rw-r--r--viewer/public/defaulticon.pngbin0 -> 3363 bytes
-rw-r--r--viewer/public/index.html4
-rw-r--r--viewer/public/manifest.json.example18
3 files changed, 21 insertions, 1 deletions
diff --git a/viewer/public/defaulticon.png b/viewer/public/defaulticon.png
new file mode 100644
index 0000000..0194e29
--- /dev/null
+++ b/viewer/public/defaulticon.png
Binary files differ
diff --git a/viewer/public/index.html b/viewer/public/index.html
index 8176ab8..cadbc72 100644
--- a/viewer/public/index.html
+++ b/viewer/public/index.html
@@ -23,9 +23,11 @@
23<head> 23<head>
24 <meta charset="utf-8"> 24 <meta charset="utf-8">
25 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 25 <meta http-equiv="X-UA-Compatible" content="IE=edge">
26 <meta name="mobile-web-app-capable" content="yes">
26 <meta name="viewport" content="width=device-width,initial-scale=1.0"> 27 <meta name="viewport" content="width=device-width,initial-scale=1.0">
27 <meta name="generator" content="ldgallery"> 28 <meta name="generator" content="ldgallery">
28 29
30 <link rel="manifest" href="manifest.json">
29 <link rel="icon" href="<%= BASE_URL %>favicon.ico"> 31 <link rel="icon" href="<%= BASE_URL %>favicon.ico">
30 <title>ldgallery</title> 32 <title>ldgallery</title>
31</head> 33</head>
@@ -39,4 +41,4 @@
39 <!-- built files will be auto injected --> 41 <!-- built files will be auto injected -->
40</body> 42</body>
41 43
42</html> 44</html> \ No newline at end of file
diff --git a/viewer/public/manifest.json.example b/viewer/public/manifest.json.example
new file mode 100644
index 0000000..4ee40f1
--- /dev/null
+++ b/viewer/public/manifest.json.example
@@ -0,0 +1,18 @@
1{
2 "short_name": "LdGallery",
3 "name": "LdGallery",
4 "icons": [
5 {
6 "src": "defaulticon.svg",
7 "type": "image/svg+xml",
8 "sizes": "192x192"
9 },
10 {
11 "src": "defaulticon.png",
12 "type": "image/png",
13 "sizes": "192x192"
14 }
15 ],
16 "display": "standalone",
17 "_comment": "https://developer.mozilla.org/en-US/docs/Web/Manifest"
18} \ No newline at end of file