|
|
@ -20,7 +20,7 @@ const { login } = require("./auth");
|
|
|
|
const passwordHash = require("./password-hash");
|
|
|
|
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 = process.env.PORT || args.port || 3001
|
|
|
|
|
|
|
|
|
|
|
|
console.info("Version: " + version)
|
|
|
|
console.info("Version: " + version)
|
|
|
|
|
|
|
|
|
|
|
|