Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Archakov06 committed Aug 28, 2020
2 parents 9b7d8c6 + cb71b22 commit 091bfc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
"webpack": "4.42.0",
"webpack-dev-server": "3.10.3",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "4.3.1"
"workbox-webpack-plugin": "4.3.1",
"json-server": "^0.16.1"
},
"scripts": {
"start": "node scripts/start.js",
Expand Down Expand Up @@ -144,9 +145,5 @@
"presets": [
"react-app"
]
},
"devDependencies": {
"express": "^4.17.1",
"json-server": "^0.16.1"
}
}
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const middlewares = jsonServer.defaults({
static: './build',
});

const PORT = process.env.port || 3001;
const PORT = process.env.PORT || 3001;

server.use(middlewares);
server.use(router);
Expand Down

0 comments on commit 091bfc2

Please sign in to comment.