💄 oo-connector: Fixed error page to show 500, correct e-mail, removed GA (#525)
This commit is contained in:
@@ -11,7 +11,6 @@ export default (error: Error & { status?: number }, req: Request, res: Response,
|
||||
|
||||
res.status(status);
|
||||
res.render('error', {
|
||||
server: makeURLTo.rootAbsolute(),
|
||||
errorMessage: message,
|
||||
});
|
||||
} catch (error) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>404 HTML Tempate by Colorlib</title>
|
||||
<title>500 Internal Server Error</title>
|
||||
|
||||
<style id="" media="all">/* vietnamese */
|
||||
@font-face {
|
||||
@@ -141,7 +141,6 @@
|
||||
font-size: 16px;
|
||||
color: #000;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
margin-top: 15px
|
||||
}
|
||||
|
||||
@@ -176,6 +175,20 @@
|
||||
font-size: 26px
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.notfound .notfound-404 h1 {
|
||||
color: #444444;
|
||||
}
|
||||
|
||||
.notfound h2 {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.notfound p {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<meta name="robots" content="noindex, follow">
|
||||
</head>
|
||||
@@ -186,26 +199,10 @@
|
||||
<h1>500</h1>
|
||||
</div>
|
||||
<h2>We are sorry, internal server error!</h2>
|
||||
<p>Please, contact our support at support@twake.com.</p>
|
||||
<a href="/">Back To Homepage</a>
|
||||
<p>Please, contact our support at :</p>
|
||||
<a href="mailto:support@twake.app">support@twake.app</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-23581568-13"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
|
||||
gtag("js", new Date());
|
||||
|
||||
gtag("config", "UA-23581568-13");
|
||||
</script>
|
||||
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"
|
||||
integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ=="
|
||||
data-cf-beacon='{"rayId":"8a39e81aa92e00bb","serverTiming":{},"version":"2024.6.1","token":"cd0b4b3a733644fc843ef0b185f98241"}'
|
||||
crossorigin="anonymous"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user