From 5445b85aaeb59f00ce20ee16b958802a8ae9d0b2 Mon Sep 17 00:00:00 2001 From: Tameem Asim Date: Wed, 18 Oct 2023 16:28:57 +0500 Subject: [PATCH] fix: invalid url on main page in self host --- apps/marketing/next.config.js | 2 +- apps/web/next.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/marketing/next.config.js b/apps/marketing/next.config.js index c9193ed77..e586b1e4f 100644 --- a/apps/marketing/next.config.js +++ b/apps/marketing/next.config.js @@ -3,7 +3,7 @@ const path = require('path'); const { withContentlayer } = require('next-contentlayer'); require('dotenv').config({ - path: path.join(__dirname, '../../.env.local'), + path: path.join(__dirname, '../../.env'), }); /** @type {import('next').NextConfig} */ diff --git a/apps/web/next.config.js b/apps/web/next.config.js index cb05de902..4a80a6b43 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -3,7 +3,7 @@ const path = require('path'); const { version } = require('./package.json'); require('dotenv').config({ - path: path.join(__dirname, '../../.env.local'), + path: path.join(__dirname, '../../.env'), }); /** @type {import('next').NextConfig} */