mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-14 04:05:14 +00:00
Improved error handling
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
{{> 'partials/head' }}
|
||||
|
||||
<title>404 - rimgo</title>
|
||||
<title>404 Not Found - rimgo</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
{{> 'partials/head' }}
|
||||
|
||||
<title>404 - rimgo</title>
|
||||
<title>Rate limited by Imgur - rimgo</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
23
views/errors/error.hbs
Normal file
23
views/errors/error.hbs
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
{{> 'partials/head' }}
|
||||
|
||||
<link rel="stylesheet" href="/static/css/error.css" />
|
||||
|
||||
<title>Error - rimgo</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{> 'partials/header' }}
|
||||
|
||||
<main>
|
||||
<h2 class="errorTitle">An error occurred</h2>
|
||||
<p>You may have found a bug in rimgo. If this is a bug, open an issue on <a href="https://codeberg.org/video-prize-ranch/rimgo/issues/new">Codeberg</a>.</p>
|
||||
<code>{{err}}</code>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user