Working on emails

This commit is contained in:
2021-06-27 18:55:04 +02:00
parent 46afb656d8
commit cb3681f3b1
6 changed files with 36 additions and 27 deletions

6
env.ts
View File

@@ -51,8 +51,10 @@ export default Env.rules({
API_VERSION: Env.schema.string(),
//Mails
MAILGUN_API_KEY: Env.schema.string(),
MAILGUN_URL: Env.schema.string(),
SMTP_HOST: Env.schema.string({ format: 'host' }),
SMTP_PORT: Env.schema.number(),
SMTP_USERNAME: Env.schema.string(),
SMTP_PASSWORD: Env.schema.string(),
//Socials Authentication
GOOGLE_CLIENT_ID: Env.schema.string(),