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 prometheusAPIMetrics = require('prometheus-api-metrics');
const { basicAuth } = require("./auth"); const { basicAuth } = require("./auth");
const {login} = require("./auth"); const {login} = require("./auth");
const passwordHash = require('./password-hash');
const version = require('../package.json').version; const version = require('../package.json').version;
const hostname = args.host || "0.0.0.0" const hostname = args.host || "0.0.0.0"
const port = args.port || 3001 const port = args.port || 3001