Set correct API path
This commit is contained in:
@@ -64,7 +64,7 @@ window.addEventListener("load", async function () {
|
||||
// Fetch auction data from API
|
||||
let locations;
|
||||
try {
|
||||
const response = await fetch('http://localhost:5000/v2/auction/NL');
|
||||
const response = await fetch('https://aupi.appmodel.nl/v2/auction/NL');
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user