From b8c352465c7de811da072d750792c6fb2b7d894c Mon Sep 17 00:00:00 2001 From: Pradeeppon01 Date: Sat, 6 Jul 2024 20:48:50 +0530 Subject: [PATCH] latest --- .env | 1 - src/Components/PlayGround.jsx | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.env b/.env index a7ae0e1..3366efa 100644 --- a/.env +++ b/.env @@ -2,4 +2,3 @@ METABASE_BASE_URL="http://metabase.usln.in/public/question/d8774923-09bb-4cd9-903b-559d417e12cf" VITE_REACT_APP_BACKEND_URL="http://localhost:9999" -# VITE_REACT_APP_BACKEND_URL="https://api.exampaper.vidh.ai" diff --git a/src/Components/PlayGround.jsx b/src/Components/PlayGround.jsx index 1a9407a..fe6dff4 100644 --- a/src/Components/PlayGround.jsx +++ b/src/Components/PlayGround.jsx @@ -48,6 +48,9 @@ import { useParams } from "react-router-dom"; const { Header, Content, Footer, Sider } = Layout; const PlayGround = () => { const { type } = useParams(); + + console.log("Backend URL:", import.meta.env.VITE_REACT_APP_BACKEND_URL); + console.log("Type ============= ", type); const [tableName, setTableName] = useState(null); const tableType = {