From b437f7993d03928e44ffda566a3cf1a946310d78 Mon Sep 17 00:00:00 2001 From: tobias Date: Tue, 18 Jun 2024 08:30:03 +0200 Subject: [PATCH] Get env variables correctly --- next.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index dbbec7d..ff05006 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -9,8 +9,8 @@ const nextConfig = { output: 'standalone', env: { customKey: 'my-value', - PORT: env.process.PORT, - HOSTNAME: env.process.HOSTNAME, + PORT: process.env.PORT, + HOSTNAME: process.env.HOSTNAME, }, }