This commit is contained in:
Pradeeppon01 2024-07-06 20:48:50 +05:30
parent d009c07a0b
commit b8c352465c
2 changed files with 3 additions and 1 deletions

1
.env
View File

@ -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"

View File

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