Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 380B

1234567891011
  1. "use strict"
  2. Object.defineProperty(exports, "__esModule", { value: true })
  3. function xDnsPrefetchControl(options = {}) {
  4. const headerValue = options.allow ? "on" : "off"
  5. return function xDnsPrefetchControlMiddleware(_req, res, next) {
  6. res.setHeader("X-DNS-Prefetch-Control", headerValue)
  7. next()
  8. }
  9. }
  10. module.exports = xDnsPrefetchControl
  11. exports.default = xDnsPrefetchControl