change to /api

This commit is contained in:
2026-03-27 19:57:29 +01:00
parent d38b31d954
commit 3996749ad8
+1 -1
View File
@@ -1,4 +1,4 @@
const API_BASE = 'http://192.168.178.41:3000'; // Backend URL const API_BASE = '/api'; // Backend URL
export async function fetchCards() { export async function fetchCards() {
const response = await fetch(`${API_BASE}/exportCards`); const response = await fetch(`${API_BASE}/exportCards`);