Skip to content

Commit

Permalink
chore: change default port
Browse files Browse the repository at this point in the history
  • Loading branch information
emnnipal committed May 19, 2022
1 parent ecf168c commit a240197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default ({ mode }) => {
],
base: '/',
server: {
port: Number(process.env.PORT || 3000),
port: Number(process.env.PORT || 3001),
},
preview: {
port: 8080,
Expand Down

0 comments on commit a240197

Please sign in to comment.