From 44cf83f46c4577862b415d60e799f793c5ba3eff Mon Sep 17 00:00:00 2001 From: Yash Thakur Date: Tue, 13 Nov 2018 17:17:02 +0530 Subject: [PATCH] Enable service worker. --- prod.pawconfig.json | 2 +- src/routes.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prod.pawconfig.json b/prod.pawconfig.json index 6daf344..62f18da 100644 --- a/prod.pawconfig.json +++ b/prod.pawconfig.json @@ -2,7 +2,7 @@ "port": "9002", "host": "0.0.0.0", "appRootUrl": "/examples/semantic-ui", - "serviceWorker": false, + "serviceWorker": true, "asyncCSS": false, "serverSideRender": true, "singlePageApplication": false diff --git a/src/routes.js b/src/routes.js index 934f5d5..c195ffa 100644 --- a/src/routes.js +++ b/src/routes.js @@ -18,8 +18,8 @@ export default class Routes { routeHandler.hooks.initRoutes.tapPromise('AppRoutes', async () => { routeHandler.addRoutes(routes); routeHandler.setPwaSchema({ - name: 'ReactPWA | Semantic-UI', - short_name: 'RPWAS', + name: 'ReactPWA | PawJS - Semantic-UI', + short_name: 'P-SUI', dir: 'ltr', lang: 'en-US', orientation: 'any',