Update CSP to allow external fonts, scripts, and add corresponding test coverage
CI / check (22) (push) Failing after 15m50s
CI / check (24) (push) Failing after 15m49s

This commit is contained in:
2026-10-07 23:51:32 +02:00
parent 5ca611c113
commit 5624eead82
4 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -439,7 +439,7 @@
integrity="sha512-rCQgmUulW6f6QegOvTntKKb5IAoxTpGVCdWqYjkXEpzAns6XUFs8NKVqWe+KQpctp/EoRSFSuykVputqknLYMg=="
crossorigin="anonymous" defer></script>
<script src="/vendor/dompurify.js" defer></script>
<script type="module" src="/js/script.js?v=20260930-chat-usability"></script>
<script type="module" src="/js/script.js?v=20261007-chat-csp-fix"></script>
<script type="module" src="/js/workspaceNavigation.js?v=20260909-account-controls"></script>
</body>
+1 -1
View File
@@ -1017,7 +1017,7 @@ if (headerModelButton) headerModelButton.addEventListener("click", (event) => {
});
saveGenerationSettingsBtn.addEventListener("click", () => { void saveGenerationSettings(); });
roleplayNewPersonaBtn.addEventListener("click", closeRoleplayStarter);
clearUserPersonaBtn.addEventListener("click", () => {
if (clearUserPersonaBtn) clearUserPersonaBtn.addEventListener("click", () => {
closeChatDrawer();
void clearChatUserPersona();
});