From 8397278cc946597a2bcf06bd04bfc1216178ddcb Mon Sep 17 00:00:00 2001
From: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
Date: Fri, 14 Feb 2025 19:44:20 +0100
Subject: [PATCH] Tmp sets hard api url default

Signed-off-by: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
---
 src/config.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/config.ts b/src/config.ts
index 7c0bacc..7ccf326 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -1,3 +1,6 @@
 export const config = {
-    API_BASE_URL: process.env.NEXT_PUBLIC_API_BASE_URL,
+    API_BASE_URL:
+        // TODO - maybe we can integrate it in page build in a better way
+        process.env.NEXT_PUBLIC_API_BASE_URL ||
+        'https://badge-api.dev.l3montree.cloud/api/v1',
 }
-- 
GitLab