removed session references

This commit is contained in:
Sheen Capadngan
2023-05-11 00:41:38 +08:00
parent addc849fa6
commit a194e90644
3 changed files with 0 additions and 3 deletions

View File

@@ -71,4 +71,3 @@ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
CLIENT_ID_GOOGLE=
CLIENT_SECRET_GOOGLE=
SESSION_SECRET=

View File

@@ -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;

View File

@@ -77,7 +77,6 @@ import {
getPort,
getSentryDSN,
getSiteURL,
getSessionSecret,
} from './config';
import { initializePassport } from './utils/auth';