Skip to content

Commit

Permalink
Prepare for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
rayoverweij committed May 22, 2020
1 parent 9efa9aa commit 1e1a2b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
"typescript": "^3.7.5"
},
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ ReactDOM.render(
document.getElementById('root')
);

serviceWorker.unregister();
serviceWorker.register();

0 comments on commit 1e1a2b4

Please sign in to comment.