finish updating dependencies
This commit is contained in:
@@ -55,7 +55,7 @@ function log_info(level, ...info) {
|
||||
});
|
||||
}
|
||||
}
|
||||
console.log = log_info;
|
||||
//console.log = log_info;
|
||||
|
||||
|
||||
const hcaptcha_secret = config.hcaptcha_secret
|
||||
@@ -299,7 +299,7 @@ app.use(function (_req, res, next) {
|
||||
next();
|
||||
});
|
||||
|
||||
app.use("/*", function (req, res, next) {
|
||||
app.use("/*path", function (req, res, next) {
|
||||
for (let i = 0; i < blocked_headers.length; i++) {
|
||||
if (req.header(blocked_headers[i]) !== undefined) {
|
||||
res.json({ "error": "we don't allow proxies on our website." });
|
||||
|
||||
Reference in New Issue
Block a user