Skip to content

Commit

Permalink
fix(index): enforce integer port
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani authored Nov 16, 2016
1 parent c9d7fe5 commit 34d9a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export = function development({devtool = 'cheap-module-inline-source-map'} = {})
* See: https://webpack.github.io/docs/webpack-dev-server.html
*/
devServer: {
port: this.metadata.port,
port: parseInt(this.metadata.port),
host: this.metadata.host,
historyApiFallback: true,
watchOptions: {
Expand Down

0 comments on commit 34d9a5b

Please sign in to comment.