randydev commited on
Commit
6c321a3
·
1 Parent(s): e6632b7
Files changed (1) hide show
  1. 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.setHeader("Link", '<https://huggingface.co/spaces/randydev/ryu-js>;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'];
 
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'];