Skip to content

Commit 129ac2a

Browse files
committed
make manifest relitive
1 parent 5c41040 commit 129ac2a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dist/webpage/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Web RARS</title>
55
<link rel="stylesheet" href="./style.css" />
66
<script type="module" src="./index.js"></script>
7-
<link rel="manifest" href="/manifest.json" />
7+
<link rel="manifest" href="./manifest.json" />
88
</head>
99
<body>
1010
<div class="flexttb" style="height: 100%">

dist/webpage/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "WebRARS",
33
"icons": [
44
{
5-
"src": "/logo.webp",
5+
"src": "./logo.webp",
66
"sizes": "512x512"
77
}
88
],
@@ -11,7 +11,7 @@
1111
"launch_handler": {
1212
"client_mode": "focus-existing"
1313
},
14-
"start_url": "/",
14+
"start_url": "./",
1515
"display": "standalone",
1616
"theme_color": "#05050a",
1717
"offline_enabled": true

src/webpage/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Web RARS</title>
55
<link rel="stylesheet" href="./style.css" />
66
<script type="module" src="./index.js"></script>
7-
<link rel="manifest" href="/manifest.json" />
7+
<link rel="manifest" href="./manifest.json" />
88
</head>
99
<body>
1010
<div class="flexttb" style="height: 100%">

src/webpage/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "WebRARS",
33
"icons": [
44
{
5-
"src": "/logo.webp",
5+
"src": "./logo.webp",
66
"sizes": "512x512"
77
}
88
],
@@ -11,7 +11,7 @@
1111
"launch_handler": {
1212
"client_mode": "focus-existing"
1313
},
14-
"start_url": "/",
14+
"start_url": "./",
1515
"display": "standalone",
1616
"theme_color": "#05050a",
1717
"offline_enabled": true

0 commit comments

Comments
 (0)