From cee521142a4e0673b155d97c3e4825b7fec1987f Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 30 Nov 2025 19:17:02 +0100 Subject: Refactor street name processing and remove unused stop downloader script - Updated `street_name.py` to simplify street name handling by removing the `re_remove_street_type` regex and exception streets list, replacing them with a dictionary for name replacements. - Deleted the `download-stops.py` script from the Santiago stop downloader, which was no longer needed. - Removed the empty `.gitkeep` file from the overrides directory. - Added a new `VigoController` class to handle stop estimates and timetables, including error handling for missing data. - Introduced `LineFormatterService` to format circulation routes based on specific line conditions. --- src/frontend/public/pwa-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/frontend/public/pwa-worker.js') diff --git a/src/frontend/public/pwa-worker.js b/src/frontend/public/pwa-worker.js index e9be319..6e33776 100644 --- a/src/frontend/public/pwa-worker.js +++ b/src/frontend/public/pwa-worker.js @@ -3,7 +3,7 @@ const STATIC_CACHE_NAME = `static-cache-${CACHE_VERSION}`; const STATIC_CACHE_ASSETS = ["/favicon.ico", "/logo-256.png", "/logo-512.jpg"]; const EXPR_CACHE_AFTER_FIRST_VIEW = - /(\/assets\/.*)|(\/api\/(vigo|santiago)\/GetStopTimetable.*)/; + /(\/assets\/.*)|(\/api\/(vigo)\/GetStopTimetable.*)/; const ESTIMATES_MIN_AGE = 15 * 1000; const ESTIMATES_MAX_AGE = 30 * 1000; -- cgit v1.3