Skip to content

Commit

Permalink
Remove serviceworker
Browse files Browse the repository at this point in the history
I was getting "Unhandled Rejection (SecurityError): The operation is insecure."
in firefox.

See badges/shields#3901
  • Loading branch information
mreishus committed Aug 8, 2020
1 parent 57d79c0 commit ae71956
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import store from "./store";
import "./index.css";

//import App from "./app/App";
import * as serviceWorker from "./serviceWorker";

// From https://redux-toolkit.js.org/tutorials/advanced-tutorial
const render = () => {
Expand All @@ -32,8 +31,3 @@ if (process.env.NODE_ENV === "development" && module.hot) {
// Concurrent Mode
// @ts-ignore
//ReactDOM.createRoot(document.getElementById("root")).render(<App />);

// 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://bit.ly/CRA-PWA
serviceWorker.unregister();

0 comments on commit ae71956

Please sign in to comment.