Skip to content

Commit

Permalink
bug: update umami fqdn for script
Browse files Browse the repository at this point in the history
  • Loading branch information
arichtman committed Dec 14, 2024
1 parent 21225f8 commit 553a51d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/partials/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
src="{{ self_hosted_url ~ '/script.js' }}"
{% else %}
data-website-id="{{ analytics_id }}"
src="https://analytics.eu.umami.is/script.js"
src="https://cloud.umami.is/script.js"
{% endif %}
data-do-not-track="true">
</script>
Expand Down
4 changes: 2 additions & 2 deletions templates/partials/content_security_policy.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
{%- set script_src = script_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" -%}
{%- set script_src = script_src ~ " cloud.umami.is" -%}
{%- set connect_src = connect_src ~ " *.umami.dev" ~ " cloud.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 553a51d

Please sign in to comment.