Skip to content

Commit c56a9d2

Browse files
dani-polaniclaude
andcommitted
feat(security): enforce CSP (flip from report-only to directives)
QA passed in report-only mode; switching to enforcing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 06de673 commit c56a9d2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bitext/svelte.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ const config = {
4949
// `reportOnly` to `directives` once QA is clean (see the CSP task).
5050
csp: {
5151
mode: 'auto',
52-
reportOnly: cspDirectives
52+
// reportOnly: cspDirectives
53+
directives: cspDirectives,
5354
}
5455
}
5556
};

0 commit comments

Comments
 (0)