Skip to content

Commit 0995e33

Browse files
authored
chore(csp): add hash for baseline indicator inline js (#13505)
1 parent 44a4bb4 commit 0995e33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libs/constants/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ export const CSP_SCRIPT_SRC_VALUES = [
8888
"'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M='",
8989
// - Current hash:
9090
"'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw='",
91+
// 2. `components/baseline-indicator/inline.js`
92+
// - Previous hash (to avoid cache invalidation issues):
93+
// null
94+
// - Current hash:
95+
"'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw=''",
9196
];
9297
export const CSP_DIRECTIVES = {
9398
"default-src": ["'self'"],

0 commit comments

Comments
 (0)