update port ans readme
This commit is contained in:
parent
306f75d1bd
commit
bb16e2ba21
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
2
index.js
2
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) {
|
||||
|
|
Loading…
Reference in a new issue