소스 검색

update backend

Paweł Malicki 1 년 전
부모
커밋
9996fcf9d5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frontend/src/api.js

+ 1 - 1
frontend/src/api.js

@@ -1,6 +1,6 @@
 import axios from 'axios';
 
-const API_URL = 'http://localhost:5000/api'; // Update this with your backend URL
+const API_URL = 'http://backend:5000/api'; // Update this with your backend URL
 
 export const getInvoices = async () => {
   const response = await axios.get(`${API_URL}/invoices`);