From 3472f203b94abc5430007f319c376fdd53d3b31a Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Thu, 20 Nov 2025 11:01:55 +0000 Subject: [PATCH] update api base --- src/axiosConfig.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/axiosConfig.ts b/src/axiosConfig.ts index 362c7c5..68aedc6 100644 --- a/src/axiosConfig.ts +++ b/src/axiosConfig.ts @@ -2,10 +2,10 @@ import axios from 'axios'; import { logger } from './debugConfig'; // Use development backend URL if no custom URL is provided -const baseURL = import.meta.env.VITE_API_URL || 'http://localhost:8080'; +const baseURL = import.meta.env.VITE_API_BASE || 'http://localhost:8080'; -if (!import.meta.env.VITE_API_URL) { - logger.warn('axios', '⚠️ VITE_API_URL not set, defaulting to http://localhost:8080'); +if (!import.meta.env.VITE_API_BASE) { + logger.warn('axios', '⚠️ VITE_API_BASE not set, defaulting to http://localhost:8080'); } const instance = axios.create({