Use absolut asset paths

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-07-27 12:15:44 +02:00 committed by Adam Warner
parent 27fa284eda
commit e6683803ed
No known key found for this signature in database
GPG key ID: 872950F3ECF2B173

View file

@ -49,7 +49,7 @@ if ($serverName === "pi.hole"
<meta charset='utf-8'> <meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'> <meta name='viewport' content='width=device-width, initial-scale=1'>
<title> $serverName</title> <title> $serverName</title>
<link rel='shortcut icon' href='admin/img/favicons/favicon.ico' type='image/x-icon'> <link rel='shortcut icon' href='/admin/img/favicons/favicon.ico' type='image/x-icon'>
<style> <style>
#splashpage { background: #222; color: rgba(255, 255, 255, 0.7); text-align: center; } #splashpage { background: #222; color: rgba(255, 255, 255, 0.7); text-align: center; }
#splashpage img { margin: 5px; width: 256px; } #splashpage img { margin: 5px; width: 256px; }
@ -57,7 +57,7 @@ if ($serverName === "pi.hole"
</style> </style>
</head> </head>
<body id='splashpage'> <body id='splashpage'>
<img src='admin/img/logo.svg' alt='Pi-hole logo' width='256' height='377'> <img src='/admin/img/logo.svg' alt='Pi-hole logo' width='256' height='377'>
<br> <br>
<p>Pi-<strong>hole</strong>: Your black hole for Internet advertisements</p> <p>Pi-<strong>hole</strong>: Your black hole for Internet advertisements</p>
<a href='/admin'>Did you mean to go to the admin panel?</a> <a href='/admin'>Did you mean to go to the admin panel?</a>