Change backend API port from 3000 to 3005
- Update server default port to 3005 - Update frontend API base URL to point to port 3005
This commit is contained in:
@@ -31,7 +31,7 @@ class ReportService {
|
||||
const formData = new FormData();
|
||||
formData.append('photo', file);
|
||||
|
||||
const response = await fetch(`${import.meta.env.VITE_API_BASE_URL || 'http://localhost:3000/api'}/reports/upload`, {
|
||||
const response = await fetch(`${import.meta.env.VITE_API_BASE_URL || 'http://localhost:3005/api'}/reports/upload`, {
|
||||
method: 'POST',
|
||||
body: formData,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user