This commit is contained in:
Leandro Facchinetti 2020-04-06 09:57:18 -04:00
parent f2a2ad20e2
commit 0493ac348e
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@
"EMAIL_PORT": "25", "EMAIL_PORT": "25",
"BASE_URL": "https://www.kill-the-newsletter.com", "BASE_URL": "https://www.kill-the-newsletter.com",
"EMAIL_DOMAIN": "kill-the-newsletter.com", "EMAIL_DOMAIN": "kill-the-newsletter.com",
"ISSUE_REPORT_EMAIL": "kill-the-newsletter@leafac.com" "ISSUE_REPORT": "mailto:kill-the-newsletter@leafac.com"
} }
}, },
{ {

View File

@ -13,8 +13,8 @@ export const EMAIL_PORT = process.env.EMAIL_PORT ?? 2525;
export const BASE_URL = process.env.BASE_URL ?? "http://localhost:8000"; export const BASE_URL = process.env.BASE_URL ?? "http://localhost:8000";
export const EMAIL_DOMAIN = export const EMAIL_DOMAIN =
process.env.EMAIL_DOMAIN ?? "kill-the-newsletter.com"; process.env.EMAIL_DOMAIN ?? "kill-the-newsletter.com";
export const ISSUE_REPORT_EMAIL = export const ISSUE_REPORT =
process.env.ISSUE_REPORT_EMAIL ?? "kill-the-newsletter@leafac.com"; process.env.ISSUE_REPORT ?? "mailto:kill-the-newsletter@leafac.com";
export const webServer = express() export const webServer = express()
.use(express.static("static")) .use(express.static("static"))
@ -169,7 +169,7 @@ function Layout({ children }: { children: React.ReactNode }) {
<a href="https://github.com/leafac/www.kill-the-newsletter.com"> <a href="https://github.com/leafac/www.kill-the-newsletter.com">
Source Source
</a>{" "} </a>{" "}
· <a href={`mailto:${ISSUE_REPORT_EMAIL}`}>Report an Issue</a> · <a href={ISSUE_REPORT}>Report an Issue</a>
</p> </p>
</footer> </footer>
</body> </body>