add webmanifest, update sw
This commit is contained in:
+2
-1
@@ -34,7 +34,8 @@ exclude:
|
|||||||
- yarn-error.log
|
- yarn-error.log
|
||||||
- yarn.lock
|
- yarn.lock
|
||||||
- local-examples/
|
- local-examples/
|
||||||
- build/
|
- build/*.js
|
||||||
|
- build/*.plist
|
||||||
- src/
|
- src/
|
||||||
- dist/
|
- dist/
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html class="no-overflow">
|
<html class="no-overflow">
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="manifest" href="/webmanifest.json">
|
||||||
<script src="./frontend.js"></script>
|
<script src="./frontend.js"></script>
|
||||||
<!--<link href="./dist/frontend.css" rel="stylesheet"/>-->
|
<!--<link href="./dist/frontend.css" rel="stylesheet"/>-->
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"name": "ReplayWeb.page",
|
||||||
|
"short_name": "ReplayWeb.page",
|
||||||
|
"description": "A tool to explore and replay interactive archived web pages directly in the browser",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "build/icon.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "assets/logo.svg",
|
||||||
|
"sizes": "252x252",
|
||||||
|
"type": "image/svg"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_url": "/",
|
||||||
|
"display": "standalone",
|
||||||
|
"theme_color": "#27a0ff"
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user