From f512704132bc57bd81f98e03150e3efaaf6baf41 Mon Sep 17 00:00:00 2001 From: M Gilang Januar Date: Thu, 6 Jan 2022 19:48:52 +0700 Subject: [PATCH] 1.4.0 --- package.json | 2 +- server/package.json | 4 ++-- web/package.json | 4 ++-- web/src/index.tsx | 4 +--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 841f70653..342dc23e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "teledrive", - "version": "1.3.1", + "version": "1.4.0", "repository": "git@github.com:mgilangjanuar/teledrive.git", "author": "M Gilang Januar ", "license": "MIT", diff --git a/server/package.json b/server/package.json index 6dbbd62e2..3e4cfb61a 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "server", - "version": "1.3.1", + "version": "1.4.0", "main": "dist/index.js", "license": "MIT", "private": true, @@ -79,4 +79,4 @@ "rimraf": "^3.0.2", "typescript": "^4.4.2" } -} +} \ No newline at end of file diff --git a/web/package.json b/web/package.json index 3f59ef17d..c270d1e0d 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "web", - "version": "1.3.1", + "version": "1.4.0", "private": true, "dependencies": { "@craco/craco": "^6.3.0", @@ -100,4 +100,4 @@ "workbox-strategies": "^5.1.3", "workbox-streams": "^5.1.3" } -} +} \ No newline at end of file diff --git a/web/src/index.tsx b/web/src/index.tsx index 41b7d0d38..c2471a686 100644 --- a/web/src/index.tsx +++ b/web/src/index.tsx @@ -20,9 +20,7 @@ ReactDOM.render( // If you want your app to work offline and load faster, you can change // unregister() to register() below. Note this comes with some pitfalls. // Learn more about service workers: https://cra.link/PWA -serviceWorkerRegistration.register({ - onUpdate: () => (window.location as any).reload(true) -}) +serviceWorkerRegistration.register() // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log))