This commit is contained in:
Leandro Facchinetti 2021-03-10 21:33:43 +00:00
parent 113db29bdc
commit e3179f4cde
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env node
import path from "path";
import express from "express";
import { SMTPServer } from "smtp-server";
@ -22,6 +24,7 @@ export default function killTheNewsletter(
webApplication.set("email host", "localhost");
webApplication.set("administrator", "mailto:kill-the-newsletter@leafac.com");
fs.ensureDirSync(rootDirectory);
const database = new Database(
path.join(rootDirectory, "kill-the-newsletter.db")
);