fix(curriculum): Typo correction in defaultSrc: ["'self'"] (#42220)

Missing a single quote resulting may be misleading for some of the students.
This commit is contained in:
KowalewskiPawel
2021-05-25 22:18:08 +03:00
committed by GitHub
parent 09b62480f2
commit 057eb0cf2a

View File

@ -21,7 +21,7 @@ app.use(helmet({
},
contentSecurityPolicy: { // enable and configure
directives: {
defaultSrc: ["self"],
defaultSrc: ["'self'"],
styleSrc: ['style.com'],
}
},