From 6bce87d2dbf8cedceffc1f6a298471d5952e923a Mon Sep 17 00:00:00 2001 From: recursive-0 Date: Tue, 14 Oct 2025 18:55:54 +0530 Subject: [PATCH] use dev url as default --- src/config.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/config.ts b/src/config.ts index f7e75bb..0af0ab6 100644 --- a/src/config.ts +++ b/src/config.ts @@ -8,12 +8,12 @@ export const API_URL = "https://lm-interactive-presentation-builder-api-dev-bzgv export const LOCAL_API_URL = "http://localhost:8000" -const getApiUrl = () => { - if(import.meta.env.VITE_ENV === "production") { - return API_URL - } else { - return LOCAL_API_URL - } -} +// const getApiUrl = () => { +// if(import.meta.env.VITE_ENV === "production") { +// return API_URL +// } else { +// return LOCAL_API_URL +// } +// } -export const BASE_URL = getApiUrl() \ No newline at end of file +export const BASE_URL = API_URL \ No newline at end of file