From a240197be68deb87ae380d62f93f2483f78cb64d Mon Sep 17 00:00:00 2001 From: Emman Nipal Date: Thu, 19 May 2022 17:21:01 +0800 Subject: [PATCH] chore: change default port --- server/server.js | 2 +- vite.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/server.js b/server/server.js index 13588e4..181a37d 100644 --- a/server/server.js +++ b/server/server.js @@ -4,7 +4,7 @@ const dotenv = require('dotenv'); dotenv.config({ path: path.join(__dirname, '../.env') }); -const PORT = process.env.PORT || 5000; +const PORT = process.env.PORT || 3001; const app = express(); diff --git a/vite.config.js b/vite.config.js index 4c42333..1034621 100644 --- a/vite.config.js +++ b/vite.config.js @@ -31,7 +31,7 @@ export default ({ mode }) => { ], base: '/', server: { - port: Number(process.env.PORT || 3000), + port: Number(process.env.PORT || 3001), }, preview: { port: 8080,