From a7b8b1615bd817b6c56f8d8dbdae6888d673bf61 Mon Sep 17 00:00:00 2001 From: Hawtim Zhang Date: Fri, 23 Oct 2020 16:07:59 +0800 Subject: [PATCH] feat: option for change default devServer port (#46) --- vue.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vue.config.js b/vue.config.js index 2556a4d..d284903 100644 --- a/vue.config.js +++ b/vue.config.js @@ -6,6 +6,7 @@ function resolve(dir) { module.exports = { devServer: { disableHostCheck: true, + port: process.env.DEV_SERVER_PORT || 8080 }, pwa: { name: "YesPlayMusic",