This commit is contained in:
Leocraft1
2025-10-03 19:12:05 +02:00
parent 089cf88152
commit ca464f3c5c
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ const numero_span = document.getElementById('numero-span');
numero_span.textContent=id;
const urlBackend = `https://setaapi.serverissimo.freeddns.org/vehicleinfo/${id}`;
//const urlBackend = `http://localhost:5001/arrivals/${codice}`;
//const urlBackend = `http://localhost:5001/vehicleinfo/${id}`;
function caricadati(){
var item=[];
fetch(urlBackend)

View File

@@ -4,11 +4,12 @@ const contentBackground = document.getElementById('content-background');
let allresults = [];
const urlList="https://setaapi.serverissimo.freeddns.org/busesinservice";
//const urlList="http://localhost:5001/busesinservice";
//Reperire modelli e numeri linea
const urlRoutes = 'https://setaapi.serverissimo.freeddns.org/routenumberslist';
//const urlRoutes = 'http://localhost:5001/stoplist';
//const urlRoutes = 'http://localhost:5001/routenumberslist';
const urlModels = 'https://setaapi.serverissimo.freeddns.org/busmodels';
//const urlModels = 'http://localhost:5001/stoplist';