adding debug output for auth endpoint for client development
This commit is contained in:
@@ -22,6 +22,8 @@ app.use(
|
|||||||
app.get("/v1/auth", (req, res) => {
|
app.get("/v1/auth", (req, res) => {
|
||||||
let logTime = getLogTime()
|
let logTime = getLogTime()
|
||||||
console.log(logTime);
|
console.log(logTime);
|
||||||
|
console.log(req.headers);
|
||||||
|
|
||||||
|
|
||||||
// Simple ratelimit
|
// Simple ratelimit
|
||||||
if(ipLog[req.headers["x-forwarded-for"] != undefined ? req.headers["x-forwarded-for"] : req.ip] !== undefined){
|
if(ipLog[req.headers["x-forwarded-for"] != undefined ? req.headers["x-forwarded-for"] : req.ip] !== undefined){
|
||||||
|
|||||||
Reference in New Issue
Block a user