Wire products and articles to the public API, send guests to the customer portal, and publish sitemap-config for Meshkee nginx. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
513 B
TypeScript
15 lines
513 B
TypeScript
export const websiteDomain =
|
|
process.env.NEXT_PUBLIC_WEBSITE_DOMAIN ?? "sohansalehnia.com";
|
|
|
|
export const meshkeeApiBase = (
|
|
process.env.NEXT_PUBLIC_MESHKEE_API_BASE ?? "https://api.meshkee.com/api/v1"
|
|
).replace(/\/$/, "");
|
|
|
|
export const customerPortalUrl = (
|
|
process.env.NEXT_PUBLIC_CUSTOMER_PORTAL_URL ?? `https://customer.${websiteDomain}`
|
|
).replace(/\/$/, "");
|
|
|
|
export const businessDashboardUrl = (
|
|
process.env.NEXT_PUBLIC_BUSINESS_ORIGIN ?? `https://business.${websiteDomain}`
|
|
).replace(/\/$/, "");
|