From e2b5f6ce5f156202860a15d8aa0a269376ce13c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Ayd=C4=B1n?= Date: Mon, 20 Jan 2025 01:37:46 +0300 Subject: [PATCH] feat: add nonce-based csp to style Implemented `generateRandom` string utility function to create random strings. Updated `handleStatus` to accept a `styleNonce` parameter and added CSP headers to include `style-src` nonce. This decision has been made because of easy testing. Modified `renderHtml` in `handleStatus` to include the `nonce` attribute in the `