more optimizations, remove WTVIRC for now, upgrade test.js
This commit is contained in:
@@ -9,7 +9,7 @@ if (auth === true) {
|
||||
const authheader = request_headers.authorization.split(' ');
|
||||
console.log(request_headers)
|
||||
|
||||
if (authheader[0] == "Basic") {
|
||||
if (authheader[0] === "Basic") {
|
||||
password = Buffer.from(authheader[1], 'base64').toString();
|
||||
password = password.split(':')[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user