Use absolute file paths on errorPage

This way, the error page still looks okay if accessed from a
subdirectory.
This commit is contained in:
Joshua Ramon Enslin 2022-03-28 15:46:21 +02:00
parent 6e9cdf3c95
commit 38bb26c2be
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -5,16 +5,16 @@
<title>Log in :: Translations :: museum-digital</title> <title>Log in :: Translations :: museum-digital</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="content-type" content="text/html;charset=utf-8"> <meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="manifest" href="./manifest.webmanifest" /> <link rel="manifest" href="/manifest.webmanifest" />
<meta name="description" content="Validate import CSV files for museum-digital" /> <meta name="description" content="Validate import CSV files for museum-digital" />
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css" /> <link rel="stylesheet" type="text/css" href="/assets/css/csvxml.min.css" />
<link rel="shortcut icon" sizes="128x128" href="assets/img/mdlogo-csvxml.svg" /> <link rel="shortcut icon" sizes="128x128" href="/assets/img/mdlogo-csvxml.svg" />
<meta name="theme-color" content="#aa4400" /> <meta name="theme-color" content="#aa4400" />
<meta name="robots" content="noindex" /> <meta name="robots" content="noindex" />
</head> </head>
<body> <body>
<h1> <h1>
<img src="assets/img/mdlogo-csvxml.svg" alt="" /> <img src="/assets/img/mdlogo-csvxml.svg" alt="" />
<span>museum-digital:csvxml</span> <span>museum-digital:csvxml</span>
</h1> </h1>
<h2>Error!</h2> <h2>Error!</h2>