Skip to content

Commit

Permalink
🐛 fix(analytics): allow Umami through CSP (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
arichtman authored May 7, 2024
1 parent f081a92 commit 26b9bbd
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 @@ -26,7 +26,7 @@
{%- set connect_src = connect_src ~ " gc.zgo.at" -%}
{%- elif config.extra.analytics.service == "umami" -%}
{%- set script_src = script_src ~ " analytics.eu.umami.is" -%}
{%- set connect_src = connect_src ~ " api-gateway-eu.umami.dev" ~ " api-gateway-us.umami.dev" ~ " analytics.eu.umami.is" -%}
{%- set connect_src = connect_src ~ " *.umami.dev" ~ " analytics.eu.umami.is" -%}
{%- elif config.extra.analytics.service == "plausible" -%}
{%- set script_src = script_src ~ " plausible.io" -%}
{%- set connect_src = connect_src ~ " plausible.io" -%}
Expand Down

0 comments on commit 26b9bbd

Please sign in to comment.