update
Browse files- middleware/midware.js +3 -2
middleware/midware.js
CHANGED
@@ -85,8 +85,9 @@ class CheckMilWare {
|
|
85 |
|
86 |
async handle(req, res, next) {
|
87 |
try {
|
88 |
-
res.
|
89 |
-
res.
|
|
|
90 |
const xForwardedFor = req.headers['x-forwarded-for'];
|
91 |
const xRealIP = req.headers['x-real-ip'];
|
92 |
const cfConnectingIP = req.headers['cf-connecting-ip'];
|
|
|
85 |
|
86 |
async handle(req, res, next) {
|
87 |
try {
|
88 |
+
res.setHeader("X-Powered-By", "AkenoXJs");
|
89 |
+
res.setHeader("Link", "<" + config.website + ">; rel=\"canonical\"");
|
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'];
|