* fill in stub for helmet lesson on noSniff() * fill in stub for helmet lesson ieNoOpen() * fill in helmet hsts() stub * fill in stub for helmetjs lesson-DNS prefetching * fill in stub for helmet lesson on noCache() * fill in stub for helmetjs lesson on XSS * fill in stub for helmet lesson 'parent' * fill in stub for lesson on bcrypt * fix type `is` to `it` on line 11 * fill in stub for bcrypt hash lesson * fill in stub for bcrypt hash sync * fill stub for helmet lessons overview * fix spacing * fix typo
405 B
405 B
title
| title |
|---|
| Disable DNS Prefetching with helmet.dnsPrefetchControl() |
Disable DNS Prefetching with helmet.dnsPrefetchControl()
Hint
- You want your
apptousehelmet'sdnsPrefetchControl()method.
Solution
- In the
myApp.jsfile addapp.use(helmet.dnsPrefetchControl());under the eighth instructions.
Note: Be sure to submit the link to the live demo of your project.