diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/images/favicon-1080x1080.png | bin | 0 -> 504303 bytes | |||
-rw-r--r-- | src/images/favicon.png | bin | 504303 -> 101944 bytes | |||
-rw-r--r-- | src/manifest.json | 6 | ||||
-rw-r--r-- | src/scripts/main.js | 3 |
4 files changed, 6 insertions, 3 deletions
diff --git a/src/images/favicon-1080x1080.png b/src/images/favicon-1080x1080.png Binary files differnew file mode 100644 index 0000000..d4d43a2 --- /dev/null +++ b/src/images/favicon-1080x1080.png diff --git a/src/images/favicon.png b/src/images/favicon.png Binary files differindex d4d43a2..80502b6 100644 --- a/src/images/favicon.png +++ b/src/images/favicon.png diff --git a/src/manifest.json b/src/manifest.json index 8cfd7b9..e586f3e 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,12 +1,16 @@ { "name": "OpenQuran", + "short_name": "OpenQuran", + "start_url": "index.html", "display": "standalone", "theme_color": "#F3F3F3", + "background_color": "#FFFFFF", + "orientation": "portrait-primary", "icons": [ { "src": "images/favicon.png", "type": "image/png", - "sizes": "1080x1080" + "sizes": "512x512" } ] }
\ No newline at end of file diff --git a/src/scripts/main.js b/src/scripts/main.js index 8f9bded..c610e83 100644 --- a/src/scripts/main.js +++ b/src/scripts/main.js @@ -2,8 +2,7 @@ function urlExists(url) { var http = new XMLHttpRequest(); http.open('HEAD', url, false); http.send(); - if (http.status != 200) - console.log(`${http.status} ${url} `) + console.log(`${http.status} ${url} `) return http.status != 404; } |