Skip to content

Commit

Permalink
pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
recap committed Jun 12, 2024
1 parent f8fe047 commit b4c2f8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ program

program.parse(process.argv)
const options = program.opts()
const config = (options.config) ? require(options.config) : require("./config.json")
const config = options.config
? require(options.config)
: require("./config.json")

const port = options.port || "8060"
const userDbFile = options.dbFile || "./data/userdb.json"
Expand Down

0 comments on commit b4c2f8e

Please sign in to comment.