22 lines
928 B
TypeScript
22 lines
928 B
TypeScript
|
|
if (!process.env.NEXT_PUBLIC_API_DOMAIN) throw new Error('Missing NEXT_PUBLIC_API_DOMAIN env var');
|
|
if (!process.env.NEXT_PUBLIC_WEBSITE_DOMAIN) throw new Error('Missing NEXT_PUBLIC_WEBSITE_DOMAIN env var');
|
|
if (!process.env.NEXT_PUBLIC_UPPY_COMPANION_URL) throw new Error('Missing NEXT_PUBLIC_UPPY_COMPANION_URL env var');
|
|
if (!process.env.NEXT_PUBLIC_SITE_URL) throw new Error('Missing NEXT_PUBLIC_SITE_URL env var');
|
|
if (!process.env.NEXT_PUBLIC_STRAPI_URL) throw new Error('Missing NEXT_PUBLIC_STRAPI_URL env var');
|
|
if (!process.env.NEXT_PUBLIC_POSTGREST_URL) throw new Error('Missing NEXT_PUBLIC_POSTGREST_URL env var');
|
|
|
|
|
|
// const apiDomain = process.env.NEXT_PUBLIC_API_DOMAIN!
|
|
// const websiteDomain = process.env.NEXT_PUBLIC_WEBSITE_DOMAIN!
|
|
|
|
// export interface ClientConfig {
|
|
// apiDomain: string;
|
|
// websiteDomain: string;
|
|
// }
|
|
|
|
// export const configs: ClientConfig = {
|
|
// apiDomain,
|
|
// websiteDomain,
|
|
// }
|