dotenv usage

This commit is contained in:
2020-03-03 14:49:52 +01:00
parent 70f4b4dc56
commit b539d9645b
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -14,6 +14,6 @@ app.use(webpackHotMiddleware(compiler));
server.applyMiddleware({ app });
app.listen(8080, () => {
app.listen(process.env.PORT || 3000, () => {
console.log('Server started');
});
+1 -1
View File
@@ -7,6 +7,6 @@ server.applyMiddleware({ app });
app.use(express.static('dist/web'));
app.listen(8080, () => {
app.listen(process.env.PORT || 3000, () => {
console.log('Server started');
});