totaljs/framework

How to hide X-Powered-By for security reason?

Closed this issue · 1 comments

For security reason, sometimes I want to hide X-Powered-By, to make hacker hardly to determine what technology behind the website.

I've tried

exports.install = function () {
  F.route('/', homePage);
}

function homePage {
  this.header('X-Powered-By', '');
  this.view('index');
}

But didn't working..