diff --git a/config/config.exs b/config/config.exs index 6a1392035..79476e8c3 100644 --- a/config/config.exs +++ b/config/config.exs @@ -5,8 +5,8 @@ config :phoenix, :json_library, Jason # Public API key for telemetry config :posthog, - api_url: "https://telemetry.firez.one", - api_key: "phc_ubuPhiqqjMdedpmbWpG2Ak3axqv5eMVhFDNBaXl9UZK" + api_url: "https://t.firez.one", + api_key: "phc_xnIRwzHSaI6c81ukilv09w2TRWUJIRo4VCxshvl7znY" # Guardian configuration config :fz_http, FzHttpWeb.Auth.HTML.Authentication, diff --git a/docs/static/js/posthog.js b/docs/static/js/posthog.js index f4236090d..bdfbccb77 100644 --- a/docs/static/js/posthog.js +++ b/docs/static/js/posthog.js @@ -1,2 +1,2 @@ !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags".split(" "),n=0;n /dev/null + https://t.firez.one/capture/ > /dev/null fi fi fi diff --git a/omnibus/package-scripts/firezone/postinst b/omnibus/package-scripts/firezone/postinst index 5dc9c3ccf..2a45cf515 100755 --- a/omnibus/package-scripts/firezone/postinst +++ b/omnibus/package-scripts/firezone/postinst @@ -11,13 +11,13 @@ capture () { -m 5 \ -H 'Content-Type: application/json' \ -d "{ - \"api_key\": \"phc_ubuPhiqqjMdedpmbWpG2Ak3axqv5eMVhFDNBaXl9UZK\", + \"api_key\": \"phc_xnIRwzHSaI6c81ukilv09w2TRWUJIRo4VCxshvl7znY\", \"event\": \"postinst\", \"properties\": { \"distinct_id\": \"$telemetry_id\" } }" \ - https://telemetry.firez.one/capture/ > /dev/null + https://t.firez.one/capture/ > /dev/null fi fi fi diff --git a/omnibus/package-scripts/firezone/postrm b/omnibus/package-scripts/firezone/postrm index 974cd1069..65fa1a99c 100755 --- a/omnibus/package-scripts/firezone/postrm +++ b/omnibus/package-scripts/firezone/postrm @@ -14,13 +14,13 @@ capture () { -m 5 \ -H 'Content-Type: application/json' \ -d "{ - \"api_key\": \"phc_ubuPhiqqjMdedpmbWpG2Ak3axqv5eMVhFDNBaXl9UZK\", + \"api_key\": \"phc_xnIRwzHSaI6c81ukilv09w2TRWUJIRo4VCxshvl7znY\", \"event\": \"postrm\", \"properties\": { \"distinct_id\": \"$telemetry_id\" } }" \ - https://telemetry.firez.one/capture/ > /dev/null + https://t.firez.one/capture/ > /dev/null fi fi fi diff --git a/omnibus/package-scripts/firezone/preinst b/omnibus/package-scripts/firezone/preinst index 8dd48051e..942be4a72 100755 --- a/omnibus/package-scripts/firezone/preinst +++ b/omnibus/package-scripts/firezone/preinst @@ -53,13 +53,13 @@ capture () { -m 5 \ -H 'Content-Type: application/json' \ -d "{ - \"api_key\": \"phc_ubuPhiqqjMdedpmbWpG2Ak3axqv5eMVhFDNBaXl9UZK\", + \"api_key\": \"phc_xnIRwzHSaI6c81ukilv09w2TRWUJIRo4VCxshvl7znY\", \"event\": \"preinst\", \"properties\": { \"distinct_id\": \"$telemetry_id\" } }" \ - https://telemetry.firez.one/capture/ > /dev/null + https://t.firez.one/capture/ > /dev/null fi fi fi diff --git a/omnibus/package-scripts/firezone/prerm b/omnibus/package-scripts/firezone/prerm index f41ffdfd3..4277c3ef4 100755 --- a/omnibus/package-scripts/firezone/prerm +++ b/omnibus/package-scripts/firezone/prerm @@ -15,13 +15,13 @@ capture () { -m 5 \ -H 'Content-Type: application/json' \ -d "{ - \"api_key\": \"phc_ubuPhiqqjMdedpmbWpG2Ak3axqv5eMVhFDNBaXl9UZK\", + \"api_key\": \"phc_xnIRwzHSaI6c81ukilv09w2TRWUJIRo4VCxshvl7znY\", \"event\": \"prerm\", \"properties\": { \"distinct_id\": \"$telemetry_id\" } }" \ - https://telemetry.firez.one/capture/ > /dev/null + https://t.firez.one/capture/ > /dev/null fi fi fi diff --git a/scripts/install.sh b/scripts/install.sh index d994a06eb..c3aef0ce7 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -42,14 +42,14 @@ capture () { -m 5 \ -H "Content-Type: application/json" \ -d "{ - \"api_key\": \"phc_ubuPhiqqjMdedpmbWpG2Ak3axqv5eMVhFDNBaXl9UZK\", + \"api_key\": \"phc_xnIRwzHSaI6c81ukilv09w2TRWUJIRo4VCxshvl7znY\", \"event\": \"$1\", \"properties\": { \"distinct_id\": \"$tid\", \"email\": \"$2\" } }" \ - https://telemetry.firez.one/capture/ > /dev/null \ + https://t.firez.one/capture/ > /dev/null \ || true fi fi diff --git a/scripts/omnibus_install.sh b/scripts/omnibus_install.sh index 14d354499..a7cb9c1fc 100755 --- a/scripts/omnibus_install.sh +++ b/scripts/omnibus_install.sh @@ -23,14 +23,14 @@ capture () { -m 5 \ -H 'Content-Type: application/json' \ -d "{ - \"api_key\": \"phc_ubuPhiqqjMdedpmbWpG2Ak3axqv5eMVhFDNBaXl9UZK\", + \"api_key\": \"phc_xnIRwzHSaI6c81ukilv09w2TRWUJIRo4VCxshvl7znY\", \"event\": \"$1\", \"properties\": { \"distinct_id\": \"$telemetry_id\", \"email\": \"$2\" } }" \ - https://telemetry.firez.one/capture/ > /dev/null \ + https://t.firez.one/capture/ > /dev/null \ || true fi fi