Skip to content

Commit 0c972e6

Browse files
committed
Adjusting recent changes to auth.html (changing to relative URLs) after rebasing from upstream
1 parent 3bc490b commit 0c972e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/auth.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
7-
<link rel="icon" type="image/x-icon" href="favicon.png" />
87
<base href="{{HOST_URL_PREFIX}}/" />
8+
<link rel="icon" type="image/x-icon" href="favicon.png" />
99
<title>Login to SilverBullet</title>
1010
<style>
1111
*,
@@ -198,7 +198,7 @@ <h1>
198198
}
199199

200200
// Fetch the app name from the manifest file
201-
fetch('/.client/manifest.json')
201+
fetch('.client/manifest.json')
202202
.then(response => {
203203
if (!response.ok) {
204204
throw new Error('Failed to load manifest');
@@ -212,7 +212,7 @@ <h1>
212212
// Update the header text
213213
const header = document.querySelector('h1');
214214
if (header) {
215-
header.innerHTML = `Login to <img src="/.client/logo.png" style="height: 1ch" /> ${appName}`;
215+
header.innerHTML = `Login to <img src=".client/logo.png" style="height: 1ch" /> ${appName}`;
216216
}
217217
})
218218
.catch(error => {

0 commit comments

Comments
 (0)