aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2024-01-19 11:28:25 -0500
committerGitHub <noreply@github.com>2024-01-19 11:28:25 -0500
commit23524cb94314fd50476ccffe654841d980c713d7 (patch)
tree6546d4d8675c1e4bc9d30f6bf526e08eef9b4eaf /src/lib
parentf9040f8beda10b3969572cf8764e49f9b24b222a (diff)
Clean project from marketing content (#50)
* Clean project from marketing content * Remove some dependencies
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/env.ts5
-rw-r--r--src/lib/resend.ts5
2 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/env.ts b/src/lib/env.ts
index bc0c0d7..af5616c 100644
--- a/src/lib/env.ts
+++ b/src/lib/env.ts
@@ -4,11 +4,6 @@ const envSchema = z.object({
NEXT_PUBLIC_BASE_URL: z.string().url(),
POSTGRES_URL_NON_POOLING: z.string().url(),
POSTGRES_PRISMA_URL: z.string().url(),
- PLAUSIBLE_DOMAIN: z.string().optional(),
- FEEDBACK_EMAIL_FROM: z.string().email().optional(),
- FEEDBACK_EMAIL_TO: z.string().email().optional(),
- RESEND_API_KEY: z.string().optional(),
- STRIPE_DONATION_LINK: z.string().optional().default('https://example.com'),
})
export const env = envSchema.parse(process.env)
diff --git a/src/lib/resend.ts b/src/lib/resend.ts
deleted file mode 100644
index 48c5fb7..0000000
--- a/src/lib/resend.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import { env } from '@/lib/env'
-import { Resend } from 'resend'
-
-export const getResend = () =>
- env.RESEND_API_KEY ? new Resend(env.RESEND_API_KEY) : null