fp/services/next/app/lib/constants.ts

27 lines
1.5 KiB
TypeScript

if (!process.env.NEXT_PUBLIC_SITE_URL) throw new Error('NEXT_PUBLIC_SITE_URL was missing in env');
if (!process.env.NEXT_PUBLIC_STRAPI_URL) throw new Error('NEXT_PUBLIC_STRAPI_URL was missing in env');
if (!process.env.NEXT_PUBLIC_UPPY_COMPANION_URL) throw new Error('NEXT_PUBLIC_UPPY_COMPANION_URL undefined in env');
export const companionUrl = ''+process.env.NEXT_PUBLIC_UPPY_COMPANION_URL
export const siteUrl = ''+process.env.NEXT_PUBLIC_SITE_URL
export const strapiUrl = ''+process.env.NEXT_PUBLIC_STRAPI_URL
export const postgrestUrl = ''+process.env.NEXT_PUBLIC_POSTGREST_URL
export const postgrestLocalUrl = 'http://postgrest.futureporn.svc.cluster.local:9000'
export const patreonCampaignId: string = '8012692'
export const patreonSupporterBenefitId: string = '4760169'
export const patreonQuantumSupporterId: string = '10663202'
export const patreonVideoAccessBenefitId: string = '13462019'
export const skeletonHeight = '32pt'
export const skeletonBaseColor = '#000'
export const skeletonHighlightColor = '#000'
export const skeletonBorderRadius = 0
export const description = "The Galaxy's Best VTuber Hentai Site"
export const title = "Futureporn.net"
export const siteImage = 'https://futureporn.net/images/futureporn-icon.png'
export const favicon = 'https://futureporn.net/favicon.ico'
export const authorName = 'CJ_Clippy'
export const authorEmail = 'cj@futureporn.net'
export const authorLink = 'https://futureporn.net'
export const giteaUrl = 'https://gitea.futureporn.net'
export const projektMelodyEpoch = new Date('2020-02-07T23:21:48.000Z')