mirror of
https://github.com/spliit-app/spliit.git
synced 2025-12-06 09:29:39 +01:00
Clean project from marketing content (#50)
* Clean project from marketing content * Remove some dependencies
This commit is contained in:
committed by
GitHub
parent
f9040f8bed
commit
23524cb943
@@ -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)
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user