diff --git a/about.html b/about.html index a082d52..2e43a6b 100644 --- a/about.html +++ b/about.html @@ -8,9 +8,9 @@ - - - + + +

About

diff --git a/back.js b/common/back.js old mode 100644 new mode 100755 similarity index 100% rename from back.js rename to common/back.js diff --git a/items.js b/common/items.js old mode 100644 new mode 100755 similarity index 100% rename from items.js rename to common/items.js diff --git a/worker.js b/common/worker.js old mode 100644 new mode 100755 similarity index 100% rename from worker.js rename to common/worker.js diff --git a/index.html b/index.html index 7ca1db3..d95fb2e 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@ - - + +

InfoTren

diff --git a/sw.js b/sw.js old mode 100644 new mode 100755 index fb13aa4..e64df91 --- a/sw.js +++ b/sw.js @@ -1,7 +1,7 @@ -const VERSION = 'v6' +const VERSION = 'v8' const API_ORIGIN = 'https://scraper.infotren.dcdev.ro/' const API_TRAINS = `${API_ORIGIN}v3/trains` -const API_STATIONS = `${API_ORIGIN}v2/stations` +const API_STATIONS = `${API_ORIGIN}v3/stations` self.addEventListener('install', (event) => { event.waitUntil( @@ -13,9 +13,9 @@ self.addEventListener('install', (event) => { '/', // Utility JS - '/worker.js', - '/items.js', - '/back.js', + '/common/worker.js', + '/common/items.js', + '/common/back.js', // Base '/base.css', diff --git a/train.html b/train.html index db9db2f..0bedaa5 100644 --- a/train.html +++ b/train.html @@ -10,9 +10,9 @@ - - - + + + diff --git a/view-train.html b/view-train.html index 3da8e64..97c4bd7 100644 --- a/view-train.html +++ b/view-train.html @@ -11,9 +11,9 @@ - - - + + +