Skip to content

Commit d3c0809

Browse files
committed
style: Update API_BASE to use local backend for development
1 parent 32f210a commit d3c0809

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/api.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const API_BASE = process.env.REACT_APP_API_BASE || 'https://skynest-backend-api.onrender.com';
1+
// Use local backend by default for development
2+
const API_BASE = process.env.REACT_APP_API_BASE || 'http://localhost:5000';
23

34
export const apiUrl = (path) => `${API_BASE}${path}`;
45

0 commit comments

Comments
 (0)