diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c3774e..67731d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,17 +166,18 @@ jobs: exit 1 fi - # style-src may contain 'unsafe-inline' (Leptos requirement), but no other source should + # style-src may contain 'unsafe-inline' (Leptos requirement) style_val=$(echo "$csp" | sed -n 's/.*style-src \([^;]*\);.*/\1/p') if echo "$style_val" | grep -q "unsafe-inline"; then echo " style-src contains 'unsafe-inline' (expected for Leptos)" fi - # script-src must NOT contain 'unsafe-inline' + # script-src may contain 'unsafe-inline' (Trunk generates an inline + #