Skip to content

Commit

Permalink
🐛 fix(CSP): add Umami API URLs to CSP (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
arichtman authored Apr 29, 2024
1 parent b6b48cc commit 341b80a
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 ~ " analytics.eu.umami.is" -%}
{%- set connect_src = connect_src ~ " api-gateway-eu.umami.dev" ~ " api-gateway-us.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 341b80a

Please sign in to comment.