Files
sohan-salehnia/src/lib/config.ts
T
Alireza HassaniandCursor 11fd1cf454 Connect Meshkee catalog, customer login, and SEO sitemap config.
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>
2026-09-03 09:31:15 +03:30

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(/\/$/, "");