barter-system
This commit is contained in:
parent
3e0f5c216d
commit
d86f659d04
@ -31,7 +31,7 @@ async function loadDashboardData() {
|
|||||||
// --- IMPORTANT ---
|
// --- IMPORTANT ---
|
||||||
// Replace this URL with the actual URL of your Node.js backend API.
|
// Replace this URL with the actual URL of your Node.js backend API.
|
||||||
// When running locally, your Node.js server might be on a different port.
|
// When running locally, your Node.js server might be on a different port.
|
||||||
const backendApiUrl = 'http://localhost:3001/api/transactions';
|
const backendApiUrl = 'http://localhost:4000/api/transactions';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch(backendApiUrl);
|
const response = await fetch(backendApiUrl);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user