Skip to content

Commit

Permalink
Merge pull request electrodejs#52 from rbudiharso/master
Browse files Browse the repository at this point in the history
use WEBPACK_DEV_PORT environment variable
  • Loading branch information
ananavati authored Nov 11, 2016
2 parents 7a38d12 + 9f1ad0d commit a0da5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/webapp/templates/server/plugins/webapp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const registerRoutes = (server, options, next) => {
serverSideRendering: true,
devServer: {
host: "127.0.0.1",
port: "2992"
port: process.env.WEBPACK_DEV_PORT || "2992"
},
paths: {},
stats: "dist/server/stats.json"
Expand Down

0 comments on commit a0da5a1

Please sign in to comment.