diff --git a/.env.example b/.env.example index b9ad6a907..59c9c5930 100644 --- a/.env.example +++ b/.env.example @@ -71,4 +71,3 @@ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY= CLIENT_ID_GOOGLE= CLIENT_SECRET_GOOGLE= -SESSION_SECRET= diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts index f9d9568d6..622076475 100644 --- a/backend/src/config/index.ts +++ b/backend/src/config/index.ts @@ -41,7 +41,6 @@ export const getClientSlugVercel = async () => (await client.getSecret('CLIENT_S export const getPostHogHost = async () => (await client.getSecret('POSTHOG_HOST')).secretValue || 'https://app.posthog.com'; export const getPostHogProjectApiKey = async () => (await client.getSecret('POSTHOG_PROJECT_API_KEY')).secretValue || 'phc_nSin8j5q2zdhpFDI1ETmFNUIuTG4DwKVyIigrY10XiE'; export const getSentryDSN = async () => (await client.getSecret('SENTRY_DSN')).secretValue; -export const getSessionSecret = async () => (await client.getSecret('SESSION_SECRET')).secretValue; export const getSiteURL = async () => (await client.getSecret('SITE_URL')).secretValue; export const getSmtpHost = async () => (await client.getSecret('SMTP_HOST')).secretValue; export const getSmtpSecure = async () => (await client.getSecret('SMTP_SECURE')).secretValue === 'true' || false; diff --git a/backend/src/index.ts b/backend/src/index.ts index 98f817137..3c9bd11c4 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -77,7 +77,6 @@ import { getPort, getSentryDSN, getSiteURL, - getSessionSecret, } from './config'; import { initializePassport } from './utils/auth';