chore/template-vars
Move postmark template variables to env.
This commit is contained in:
parent
9b9590a884
commit
4708ffef9e
2 changed files with 4 additions and 2 deletions
|
|
@ -24,6 +24,8 @@ SMTP_PORT=25
|
|||
SMTP_USER=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_FROM=Taxonomy <taxonomy@example.com>
|
||||
const POSTMARK_SIGN_IN_TEMPLATE =
|
||||
const POSTMARK_ACTIVATION_TEMPLATE =
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Subscriptions (Stripe)
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import { db } from "@/lib/db"
|
|||
|
||||
const postmarkClient = new Client(process.env.POSTMARK_API_TOKEN)
|
||||
|
||||
const POSTMARK_SIGN_IN_TEMPLATE = 29559329
|
||||
const POSTMARK_ACTIVATION_TEMPLATE = 29559329
|
||||
const POSTMARK_SIGN_IN_TEMPLATE = process.env.POSTMARK_SIGN_IN_TEMPLATE
|
||||
const POSTMARK_ACTIVATION_TEMPLATE = process.env.POSTMARK_ACTIVATION_TEMPLATE
|
||||
|
||||
export const authOptions: NextAuthOptions = {
|
||||
// huh any! I know.
|
||||
|
|
|
|||
Loading…
Reference in a new issue