Skip to content

Commit 07410cf

Browse files
committed
fixed undefined
1 parent 3089f76 commit 07410cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import FolderOpenIcon from '@mui/icons-material/FolderOpen'
77
import ExampleTree from './components/ExampleTree'
88
import axios from 'axios'
99

10-
const API_ROOT = import.meta.env.VITE_API_ROOT + '/' || ''
10+
const API_ROOT = import.meta.env.VITE_API_ROOT ? import.meta.env.VITE_API_ROOT + '/' : ''
1111

1212
export default function App() {
1313
const [examples, setExamples] = useState([])

0 commit comments

Comments
 (0)