update
Browse files- middleware/midware.js +2 -1
middleware/midware.js
CHANGED
@@ -86,8 +86,9 @@ class CheckMilWare {
|
|
86 |
async handle(req, res, next) {
|
87 |
try {
|
88 |
res.setHeader("X-Powered-By", "AkenoXJs");
|
89 |
-
res.
|
90 |
res.setHeader("Connection", "close");
|
|
|
91 |
const xForwardedFor = req.headers['x-forwarded-for'];
|
92 |
const xRealIP = req.headers['x-real-ip'];
|
93 |
const cfConnectingIP = req.headers['cf-connecting-ip'];
|
|
|
86 |
async handle(req, res, next) {
|
87 |
try {
|
88 |
res.setHeader("X-Powered-By", "AkenoXJs");
|
89 |
+
res.removeHeader("Link");
|
90 |
res.setHeader("Connection", "close");
|
91 |
+
console,log(req.headers);
|
92 |
const xForwardedFor = req.headers['x-forwarded-for'];
|
93 |
const xRealIP = req.headers['x-real-ip'];
|
94 |
const cfConnectingIP = req.headers['cf-connecting-ip'];
|