Skip to content

Commit

Permalink
chore(pm2): set default port
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed May 26, 2021
1 parent b3b0381 commit a9e4c35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pm2.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
const { PORT = 3000 } = process.env;

module.exports = {
apps: [
{
name: 'Vercel',
script: 'vc dev --listen $PORT',
script: `vc dev --listen ${PORT}`,
ignore_watch: ['.'],
},
{
Expand Down

0 comments on commit a9e4c35

Please sign in to comment.