We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3089f76 commit 07410cfCopy full SHA for 07410cf
frontend/src/App.jsx
@@ -7,7 +7,7 @@ import FolderOpenIcon from '@mui/icons-material/FolderOpen'
7
import ExampleTree from './components/ExampleTree'
8
import axios from 'axios'
9
10
-const API_ROOT = import.meta.env.VITE_API_ROOT + '/' || ''
+const API_ROOT = import.meta.env.VITE_API_ROOT ? import.meta.env.VITE_API_ROOT + '/' : ''
11
12
export default function App() {
13
const [examples, setExamples] = useState([])
0 commit comments