Skip to content

Commit 7788ada

Browse files
chore: Update API health check URL from localhost to deployed Render endpoint in AdminPanel and Dashboard.
1 parent 9b359f3 commit 7788ada

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/pages/AdminPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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?

frontend/src/pages/Dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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?

0 commit comments

Comments
 (0)