Merge pull request #120 from chakflying/patch-1

Fix: passwordHash is not imported
This commit is contained in:
Louis Lam 2021-07-28 19:34:01 +08:00 committed by GitHub
commit c8c2300483
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