From 057eb0cf2a1e34d970a3af7e117d1790b27edcb8 Mon Sep 17 00:00:00 2001 From: KowalewskiPawel <53332984+KowalewskiPawel@users.noreply.github.com> Date: Tue, 25 May 2021 22:18:08 +0300 Subject: [PATCH] fix(curriculum): Typo correction in defaultSrc: ["'self'"] (#42220) Missing a single quote resulting may be misleading for some of the students. --- .../configure-helmet-using-the-parent-helmet-middleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/09-information-security/information-security-with-helmetjs/configure-helmet-using-the-parent-helmet-middleware.md b/curriculum/challenges/english/09-information-security/information-security-with-helmetjs/configure-helmet-using-the-parent-helmet-middleware.md index 64288545a5..8f96da298a 100644 --- a/curriculum/challenges/english/09-information-security/information-security-with-helmetjs/configure-helmet-using-the-parent-helmet-middleware.md +++ b/curriculum/challenges/english/09-information-security/information-security-with-helmetjs/configure-helmet-using-the-parent-helmet-middleware.md @@ -21,7 +21,7 @@ app.use(helmet({ }, contentSecurityPolicy: { // enable and configure directives: { - defaultSrc: ["self"], + defaultSrc: ["'self'"], styleSrc: ['style.com'], } },