Skip to content

Commit

Permalink
Require API_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
Its4Nik authored Aug 24, 2024
1 parent b1d1de7 commit 621392a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ import 'react-toastify/dist/ReactToastify.css';
const apihost = process.env.API_URL;
const default_theme = process.env.DEFAULT_THEME || 'dracula';

if (!apihost) {
return 'Please enter the "API_HOST" inside the docker-compose file'
}

function App() {
const [data, setData] = useState({});
const [isInitialLoad, setIsInitialLoad] = useState(true);
Expand Down

0 comments on commit 621392a

Please sign in to comment.