Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CoNETProject committed Sep 30, 2023
1 parent b772e02 commit 8951119
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "@conet-project/seguro-platform",
"version": "0.60.2",
"name": "@conet-project/conet-platform",
"version": "0.60.3",
"author": "CoNET technology Inc.",
"description": "The CoNET Platform",
"license": "UNLICENSED",
"description": "The CONET project provides Innate in digital privacy from the network layer to the application layer.",
"license": "MIT",
"files": [
"./build"
],
"homepage": "https://conet.network",
"main": "./src/electron/electron.js",
"scripts": {
"start": "concurrently --kill-others --success=first 'yarn start:gateway' 'yarn _start:web' 'wait-on tcp:3000 && NODE_ENV=development yarn _start:desktop'",
Expand All @@ -17,7 +18,7 @@
"__start:web": "BROWSER=none NODE_ENV=development node src/electron/start.js ",
"_start:desktop": "electron ./src/electron/electron.js",
"build": "CI=false react-scripts build",
"build:web": "CI=false react-scripts build",
"build:web": "CI=false react-scripts build && cp -r build/* ../seguro-gateway/build/localServer/workers/",
"lint": "echo 'no linter available'",
"test": "react-scripts test",
"clean": "rm -rf ./node_modules ./build ./dist",
Expand Down
5 changes: 3 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ if (rootElement) {
</RootProvider>

)


if ('serviceWorker' in navigator) {
navigator.serviceWorker.register("/sw.js")
}
} else {
console.log (`CoNET Platform Loader Error: can't find rootElement`)
}

0 comments on commit 8951119

Please sign in to comment.