mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature: cloudcmd: ratelimit: X-Forwarded-For (#437)
This commit is contained in:
parent
cad5e0f44e
commit
40ecef5ec4
7 changed files with 61 additions and 31 deletions
|
|
@ -264,7 +264,8 @@ function validateRoot(root, config) {
|
|||
if (root === '/')
|
||||
return;
|
||||
|
||||
console.log(`root: ${root}`);
|
||||
if (config('log'))
|
||||
console.log(`root: ${root}`);
|
||||
}
|
||||
|
||||
async function getPassword(password) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue