Skip to content

Commit 091bfc2

Browse files
committed
2 parents 9b7d8c6 + cb71b22 commit 091bfc2

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
"webpack": "4.42.0",
6969
"webpack-dev-server": "3.10.3",
7070
"webpack-manifest-plugin": "2.2.0",
71-
"workbox-webpack-plugin": "4.3.1"
71+
"workbox-webpack-plugin": "4.3.1",
72+
"json-server": "^0.16.1"
7273
},
7374
"scripts": {
7475
"start": "node scripts/start.js",
@@ -144,9 +145,5 @@
144145
"presets": [
145146
"react-app"
146147
]
147-
},
148-
"devDependencies": {
149-
"express": "^4.17.1",
150-
"json-server": "^0.16.1"
151148
}
152149
}

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const middlewares = jsonServer.defaults({
55
static: './build',
66
});
77

8-
const PORT = process.env.port || 3001;
8+
const PORT = process.env.PORT || 3001;
99

1010
server.use(middlewares);
1111
server.use(router);

0 commit comments

Comments
 (0)