|
|
|
@ -14,6 +14,6 @@ app.use(webpackHotMiddleware(compiler)); |
|
|
|
|
|
|
|
|
|
|
|
server.applyMiddleware({ app }); |
|
|
|
server.applyMiddleware({ app }); |
|
|
|
|
|
|
|
|
|
|
|
app.listen(8080, () => { |
|
|
|
app.listen(process.env.PORT || 3000, () => { |
|
|
|
console.log('Server started'); |
|
|
|
console.log('Server started'); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|