Fix port selection.

This commit is contained in:
James Sumners 2023-08-15 07:29:12 -04:00 committed by GitHub
parent ca46ce227c
commit d63b94f31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const parseDN = ldapjs.parseDN;
const SCHEME = process.env.SCHEME || 'ldap';
const HOST = process.env.HOST || '127.0.0.1';
const PORT = process.env.PORT || 1389;
const PORT = process.env.PORT || 389
const baseURL = `${SCHEME}://${HOST}:${PORT}`;
const client = ldapjs.createClient({ url: baseURL });