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:
@ -21,7 +21,7 @@ app.use(helmet({
|
|||||||
},
|
},
|
||||||
contentSecurityPolicy: { // enable and configure
|
contentSecurityPolicy: { // enable and configure
|
||||||
directives: {
|
directives: {
|
||||||
defaultSrc: ["self"],
|
defaultSrc: ["'self'"],
|
||||||
styleSrc: ['style.com'],
|
styleSrc: ['style.com'],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user