Skip to content

Commit

Permalink
🐛 fix: update CSP for GoatCounter (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
noeddl authored Oct 18, 2024
1 parent 11e246a commit 34514c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/partials/content_security_policy.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{%- if config.extra.analytics.service -%}
{%- if config.extra.analytics.service == "goatcounter" -%}
{%- set script_src = script_src ~ " gc.zgo.at" -%}
{%- set connect_src = connect_src ~ " gc.zgo.at" -%}
{%- set connect_src = connect_src ~ " " ~ config.extra.analytics.id ~ ".goatcounter.com/count" -%}
{%- elif config.extra.analytics.service == "umami" -%}
{%- set script_src = script_src ~ " analytics.eu.umami.is" -%}
{%- set connect_src = connect_src ~ " *.umami.dev" ~ " analytics.eu.umami.is" -%}
Expand Down

0 comments on commit 34514c1

Please sign in to comment.