-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add backend health check and warning label
- Implemented a warning label component using styled-components for consistent styling. - Added logic to check if REACT_APP_BACKEND_URL is set in the environment. - Integrated a health check by pinging the /health endpoint of the backend. - Configured the warning label to display when the backend URL is unset or the server is inactive. - Styled the warning label for clear visibility (yellow background, red text). - Positioned the warning label at the top of the Classifier component for immediate user attention. #55
- Loading branch information
1 parent
f2a69ed
commit fe9ddf2
Showing
3 changed files
with
200 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.