From bb16e2ba219161479cb5ac5b8455bc7bee90550b Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Sun, 11 Dec 2022 16:49:59 +0100 Subject: [PATCH] update port ans readme --- README.md | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65435f2..c96172e 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ 1. Requirements: +* Create a bde-list user in sudoers: `useradd -m -s /bin/bash -G sudo bde-list` and connect to it. * Install nvm: `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash` * Install node: `nvm install 18.12.1 && nvm use 18.12.1` -* Install npm: `apt install npm` * Install pm2: `npm install pm2 -g` 2. Installation: diff --git a/index.js b/index.js index e60d0f3..7a38c19 100644 --- a/index.js +++ b/index.js @@ -347,7 +347,7 @@ function makeid(length) { const start = async () => { try { - await fastify.listen({ port: 80 }) + await fastify.listen({ port: 3000 }) } catch (err) { fastify.log.error(err) LDAP.close(function(err) {