small changes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* Handles all communication with the backend API
|
||||
*/
|
||||
|
||||
const API_BASE_URL = 'http://localhost:8001'
|
||||
const API_BASE_URL = import.meta.env.VITE_API_URL || 'http://localhost:8001'
|
||||
|
||||
type ApiOptions = {
|
||||
method?: 'GET' | 'POST' | 'PUT' | 'DELETE'
|
||||
|
||||
Reference in New Issue
Block a user