From fe9b84c91886bed4c6f47b31588764b3bae6b7b4 Mon Sep 17 00:00:00 2001 From: euan <euanmeston@gmail.com> Date: Wed, 18 Dec 2024 16:44:59 +0000 Subject: [PATCH] fixed next config --- frontend/next.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/next.config.js b/frontend/next.config.js index 8ba5642c..4b28112b 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -1,8 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - reactStrictMode: true, - swcMinify: true, - env: { +reactStrictMode: true, +env: { API: process.env.API ?? 'https://api.openweightlifting.org', }, async headers() {