2024-05-01 01:17:11 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Error - <%= code %></title>
|
2024-05-01 13:39:29 +01:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="/style.css">
|
2024-05-01 01:17:11 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Error <%= code %></h1>
|
|
|
|
<% if (code === 400) { %>
|
|
|
|
<p>You did not choose a file to upload</p>
|
|
|
|
<% } else if (code === 415) { %>
|
|
|
|
<p>You must only upload PDF files</p>
|
|
|
|
<% } %>
|
2024-05-01 13:39:29 +01:00
|
|
|
|
|
|
|
<a href="/">Go Home</a>
|
2024-05-01 01:17:11 +01:00
|
|
|
</body>
|
|
|
|
</html>
|