From 2db6d47475f1d7e37f610b3c53c74eb69f75d064 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Mon, 10 Aug 2020 16:33:28 +0200 Subject: [PATCH] Next Big Update --- gabenparadise/src/App.vue | 10 +- gabenparadise/src/components/GamesList.vue | 133 +++++++++++---------- gabenparadise/src/registerServiceWorker.js | 4 +- gabenparadise/src/service-worker.js | 4 +- 4 files changed, 82 insertions(+), 69 deletions(-) diff --git a/gabenparadise/src/App.vue b/gabenparadise/src/App.vue index 8b3b67d..c998d7f 100644 --- a/gabenparadise/src/App.vue +++ b/gabenparadise/src/App.vue @@ -1,15 +1,17 @@ @@ -24,7 +26,7 @@ body { align-items: space-between; } -.bell{ +.bell { font-size: 2.5rem; font-weight: 300; line-height: 2; diff --git a/gabenparadise/src/components/GamesList.vue b/gabenparadise/src/components/GamesList.vue index f1e4f92..463e37f 100644 --- a/gabenparadise/src/components/GamesList.vue +++ b/gabenparadise/src/components/GamesList.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/gabenparadise/src/registerServiceWorker.js b/gabenparadise/src/registerServiceWorker.js index de058ad..bae2c8f 100644 --- a/gabenparadise/src/registerServiceWorker.js +++ b/gabenparadise/src/registerServiceWorker.js @@ -44,8 +44,8 @@ if (process.env.NODE_ENV === "production") { messaging.getToken().then(function (token) { console.log("Token: ", token) console.log(JSON.stringify({ "token": token })); - - axios.post('https://dev.steelants.cz/vasek/gabenparadise/api/subscribe', { + //FIX: New URL + axios.post('https://api.gabenparadise.com/subscribe', { "token" : token }, { headers: { diff --git a/gabenparadise/src/service-worker.js b/gabenparadise/src/service-worker.js index f0f38b4..b6c6a0d 100644 --- a/gabenparadise/src/service-worker.js +++ b/gabenparadise/src/service-worker.js @@ -1,10 +1,10 @@ -self.__precacheManifest = [].concat(self.__precacheManifest || []); +/*self.__precacheManifest = [].concat(self.__precacheManifest || []);*/ // workbox.setConfig({ // debug: true // }); -workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); +//workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); self.addEventListener("push", function (event) { console.log('Received a push message', event);