diff --git a/client/src/App.jsx b/client/src/App.jsx index 8e7107c..f77b189 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -16,6 +16,8 @@ function App() { const turtles = useTurtleStore((state) => state.getTurtleArray()); const selectedTurtle = useTurtleStore((state) => state.getSelectedTurtle()); + const inventoryDashboardUrl = import.meta.env.VITE_INVENTORY_DASHBOARD_URL || `${window.location.protocol}//${window.location.hostname}`; + useEffect(() => { connect(); }, [connect]); @@ -52,6 +54,15 @@ function App() {