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'); // 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, // }