Http Security Headers in Wappler (nodejs)

You can add the helmet middleware for the security headers:

exports.handler = function(app) {
  const helmet = require("helmet")
  app.use(helmet());
}

Don’t forget to install the helmet module:

npm i helmet

For the helmet options see:

helmetjs/helmet: Help secure Express apps with various HTTP headers (github.com)

Documentation for extending express in Server Connect:

Extending express (NodeJS) - Docs / Wappler Extensibility - Wappler Community