diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..409e170 --- /dev/null +++ b/.env.production @@ -0,0 +1,6 @@ +# Used by `next build` on the websites VM (production). +# Local `next dev` still prefers `.env.local`. +NEXT_PUBLIC_API_BASE_URL=https://api.meshkee.com/api/v1 +NEXT_PUBLIC_DOMAIN=sanihome.ir +NEXT_PUBLIC_CUSTOMER_ORIGIN=https://customer.sanihome.ir +NEXT_PUBLIC_BUSINESS_ORIGIN=https://business.sanihome.ir diff --git a/next.config.ts b/next.config.ts index ef8450f..846a5c3 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,6 +1,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { + output: "standalone", allowedDevOrigins: ["sanihome.com", "localhost"], };