fix: use environment variable for API URL

This commit is contained in:
Xavier Oliveira
2026-05-28 14:41:32 +01:00
parent cf916eabb3
commit 82de11a99f
32 changed files with 98 additions and 65 deletions

View File

@@ -0,0 +1,3 @@
const API_URL = import.meta.env.VITE_API_URL || "http://127.0.0.1:8000";
export default API_URL;