File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const AdminPanel: React.FC = () => {
5050 const checkApiStatus = async ( ) => {
5151 setApiStatus ( 'checking' ) ;
5252 const start = Date . now ( ) ;
53- const url = 'http ://localhost:8001 /api/v1/health' ;
53+ const url = 'https ://authdb-832j.onrender.com /api/v1/health' ;
5454 try {
5555 await api . get ( url ) ; // Relative to /api/v1, so ../health hits /health
5656 // Actually, axios baseURL is /api/v1. Health is at root /health usually or /api/v1/health?
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const Dashboard: React.FC = () => {
3535 const checkApiStatus = async ( ) => {
3636 setApiStatus ( 'checking' ) ;
3737 const start = Date . now ( ) ;
38- const url = 'http ://localhost:8001 /api/v1/health' ;
38+ const url = 'https ://authdb-832j.onrender.com /api/v1/health' ;
3939 try {
4040 await api . get ( url ) ; // Relative to /api/v1, so ../health hits /health
4141 // Actually, axios baseURL is /api/v1. Health is at root /health usually or /api/v1/health?
You can’t perform that action at this time.
0 commit comments