source: views/error.ejs@ 7517a3a

main
Last change on this file since 7517a3a was 7517a3a, checked in by Luka Krstikj <luka.krstik@…>, 16 hours ago

init

  • Property mode set to 100644
File size: 544 bytes
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Error</title>
7 <link rel="stylesheet" href="/css/style.css">
8</head>
9<body>
10 <div class="container">
11 <h1><%= message %></h1>
12 <% if (error.status) { %>
13 <p>Status: <%= error.status %></p>
14 <% } %>
15 <% if (error.stack && process.env.NODE_ENV === 'development') { %>
16 <pre><%= error.stack %></pre>
17 <% } %>
18 <a href="/" class="btn">Go Home</a>
19 </div>
20</body>
21</html>
Note: See TracBrowser for help on using the repository browser.