From 482de8d7032eb4b416afa1fc10f1a7f72fc7d404 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 21 Mar 2018 23:38:15 +0000 Subject: [PATCH] Upload --- server.js | 2 +- src/service-worker.js | 2 +- src/v1/js/app.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 86202df..385bf2e 100644 --- a/server.js +++ b/server.js @@ -93,7 +93,7 @@ app.get('/fsexplore', cache('15 minutes'), (req, res) => { } }); -app.get('/rightbyme', cache('12 hour'), (req, res) => { +app.get('/rightbyme', cache('15 minutes'), (req, res) => { if (req.query.hasOwnProperty('ll')) rightbyme.doGetRightByMe(req.query.ll) .then((d) => { diff --git a/src/service-worker.js b/src/service-worker.js index 2654ecb..98fcd0a 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -const CACHE_VERSION = { 'version': '0.0.477' }; +const CACHE_VERSION = { 'version': '0.0.480' }; const dataCacheName = 'jubileeData-v1'; const cacheName = 'jubilee-final-1'; const filesToCache = [ diff --git a/src/v1/js/app.js b/src/v1/js/app.js index b3174c3..c19cd45 100644 --- a/src/v1/js/app.js +++ b/src/v1/js/app.js @@ -18,7 +18,7 @@ const { AgendaModel, AgendaView } = require('./Agenda'); const { TrafficModel, TrafficView } = require('./Traffic'); var app = app || {}; -const live = false; +const live = true; if (live) { window.loc = 'https://jubilee.silvrtree.co.uk';