diff --git a/app/app.py b/app/app.py index 2baf768..93fe0b2 100644 --- a/app/app.py +++ b/app/app.py @@ -118,10 +118,14 @@ def create_app(config=None): app.config['CORS_ALLOWED_ORIGINS'] = os.getenv('CORS_ALLOWED_ORIGINS', '') app.config['FORCE_HTTPS'] = os.getenv('FORCE_HTTPS', 'true').lower() == 'true' - # Still true: 76 inline event handlers remain across the templates, and - # no nonce can authorise those. Flip once tests/test_csp.py reports zero. + # Now false: every inline event handler has been replaced by a + # data-action attribute dispatched from main.js, so script-src no longer + # needs 'unsafe-inline'. Inline {% endblock %} \ No newline at end of file diff --git a/app/templates/pages/evaluate_player.html b/app/templates/pages/evaluate_player.html index b5bedfa..30faae2 100644 --- a/app/templates/pages/evaluate_player.html +++ b/app/templates/pages/evaluate_player.html @@ -32,21 +32,21 @@