freeCodeCamp/curriculum/challenges/spanish/06-information-security-and.../information-security-with-h.../install-and-require-helmet....

1.1 KiB

id title challengeType videoUrl localeTitle
587d8247367417b2b2512c36 Install and Require Helmet 2 Instalar y Requerir Casco

Description

Como recordatorio, este proyecto se está construyendo sobre el siguiente proyecto de inicio en Glitch , o clonado desde GitHub . Helmet lo ayuda a proteger sus aplicaciones Express configurando varios encabezados HTTP. Instale el paquete, luego requiéralo.

Instructions

Tests

tests:
  - text: La dependencia de "casco" debería estar en package.json
    testString: 'getUserInput => $.get(getUserInput("url") + "/_api/package.json").then(data => { var packJson = JSON.parse(data); assert.property(packJson.dependencies, "helmet"); }, xhr => { throw new Error(xhr.responseText); })'

Challenge Seed

Solution

// solution required