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 = {