Fix: passwordHash is not imported

This commit is contained in:
Nelson Chan 2021-07-28 10:58:36 +08:00 committed by GitHub
parent 209fa83cff
commit ac0f418294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ const args = require('args-parser')(process.argv);
const prometheusAPIMetrics = require('prometheus-api-metrics');
const { basicAuth } = require("./auth");
const {login} = require("./auth");
const passwordHash = require('./password-hash');
const version = require('../package.json').version;
const hostname = args.host || "0.0.0.0"
const port = args.port || 3001