From b3634e12a592a541e469b6d101cfb13feabdb89f Mon Sep 17 00:00:00 2001 From: Phuoc Nguyen Date: Tue, 26 Nov 2019 10:42:45 +0700 Subject: [PATCH] Change the dev server's port --- README.md | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f1ca04..d3a0f05 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ $ npm install $ npm run dev-server ~~~ -Visit http://localhost:8080 to see it in action. +Visit http://localhost:1234 to see it in action. ## Contributing diff --git a/webpack.config.js b/webpack.config.js index d68cb86..c4cd15d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -71,6 +71,7 @@ module.exports = { devServer: { contentBase: path.join(__dirname, 'dist'), historyApiFallback: true, + port: 1234, }, plugins, // See https://webpack.js.org/guides/caching/