Disable service worker (#63)

Service has caused some bugs where
the trust domains were ignored
and api calls were done without proper credentials
This commit is contained in:
Maycon Santos
2022-08-03 09:44:46 +02:00
committed by GitHub
parent 321e4d8311
commit d71d8214e7
2 changed files with 4 additions and 3 deletions

View File

@@ -47,8 +47,8 @@
"scripts": {
"copy": "copyfiles -f ./node_modules/@axa-fr/react-oidc/dist/OidcServiceWorker.js ./public",
"copytrusted": "copyfiles -f ./public/local/OidcTrustedDomains.js ./public",
"start": "npm run copy && npm run copytrusted && react-scripts start",
"build": "npm run copy && react-scripts build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},