final product
This commit is contained in:
@@ -58,7 +58,7 @@ async function loadGtfsStaticInMemory() {
|
||||
const gtfs = {};
|
||||
|
||||
for (const entry of directory.files) {
|
||||
if (!entry.path.endsWith(".txt")) continue; // only GTFS .txt files
|
||||
if (!entry.path.endsWith(".txt")) continue;
|
||||
|
||||
const fileBuffer = await entry.buffer();
|
||||
const text = fileBuffer.toString("utf8");
|
||||
@@ -315,10 +315,6 @@ module.exports = {
|
||||
getScheduleByRoute,
|
||||
getScheduleByStationId,
|
||||
getShapeByRoute,
|
||||
|
||||
updateGtfsRt,
|
||||
loadGtfsStaticInMemory,
|
||||
gtfs_rt_v,
|
||||
gtfs_rt_t,
|
||||
gtfs_rt_a,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user