Browse Source

update port ans readme

pull/1/head
asyncnomi 3 years ago
parent
commit
bb16e2ba21
  1. 2
      README.md
  2. 2
      index.js

2
README.md

@ -4,9 +4,9 @@
1. Requirements: 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 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 node: `nvm install 18.12.1 && nvm use 18.12.1`
* Install npm: `apt install npm`
* Install pm2: `npm install pm2 -g` * Install pm2: `npm install pm2 -g`
2. Installation: 2. Installation:

2
index.js

@ -347,7 +347,7 @@ function makeid(length) {
const start = async () => { const start = async () => {
try { try {
await fastify.listen({ port: 80 }) await fastify.listen({ port: 3000 })
} catch (err) { } catch (err) {
fastify.log.error(err) fastify.log.error(err)
LDAP.close(function(err) { LDAP.close(function(err) {

Loading…
Cancel
Save