mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-23 01:32:03 -07:00
linting
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
const passport = require('passport')
|
const passport = require('passport')
|
||||||
// const BasicStrategy = require('passport-http').BasicStrategy
|
// const BasicStrategy = require('passport-http').BasicStrategy
|
||||||
const AnonymousStrategy = require('passport-anonymous')
|
const AnonymousStrategy = require('passport-anonymous')
|
||||||
const wlogger = require('../util/winston-logging')
|
// const wlogger = require('../util/winston-logging')
|
||||||
|
|
||||||
// Used for debugging and iterrogating JS objects.
|
// Used for debugging and iterrogating JS objects.
|
||||||
const util = require('util')
|
const util = require('util')
|
||||||
@@ -33,9 +33,9 @@ util.inspect.defaultOptions = { depth: 1 }
|
|||||||
// let _this
|
// let _this
|
||||||
|
|
||||||
// Set default rate limit value for testing
|
// Set default rate limit value for testing
|
||||||
const PRO_PASSES = process.env.PRO_PASS ? process.env.PRO_PASS : 'BITBOX'
|
// const PRO_PASSES = process.env.PRO_PASS ? process.env.PRO_PASS : 'BITBOX'
|
||||||
// Convert the pro-tier password string into an array split by ':'.
|
// Convert the pro-tier password string into an array split by ':'.
|
||||||
const PRO_PASS = PRO_PASSES.split(':')
|
// const PRO_PASS = PRO_PASSES.split(':')
|
||||||
|
|
||||||
// wlogger.verbose(`PRO_PASS set to: ${PRO_PASS}`)
|
// wlogger.verbose(`PRO_PASS set to: ${PRO_PASS}`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user