From cb0b836d92d646bae5691c4d955433b9a81b0b83 Mon Sep 17 00:00:00 2001
From: Leandro Facchinetti
Date: Thu, 11 Mar 2021 10:33:19 +0000
Subject: [PATCH]
---
src/index.ts | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/index.ts b/src/index.ts
index 68e64d3..39ab321 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -98,7 +98,7 @@ export default function killTheNewsletter(
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
"Helvetica Neue", sans-serif;
line-height: 1.5;
- max-width: 400px;
+ max-width: 450px;
padding: 0 1em;
margin: 1em auto;
text-align: center;
@@ -204,7 +204,7 @@ export default function killTheNewsletter(
>
ยท
Report an IssueReport an issue
@@ -271,10 +271,10 @@ export default function killTheNewsletter(
They contain an identifier that other people could use to send you spam
and to control your newsletter subscriptions.
- Enjoy your readings!
+ Enjoy your readings!
Create Another InboxCreate another inbox
`;
@@ -389,7 +389,18 @@ export default function killTheNewsletter(
}
);
- // TODO: 404
+ webApplication.use((req, res) => {
+ res.send(
+ layout(html`
+ 404 Not found
+
+ Create a new inbox
+
+ `)
+ );
+ });
const emailApplication = new SMTPServer();