Skip to content

Commit

Permalink
Fix telemetry url
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Dec 7, 2020
1 parent 77f157a commit 9115b71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ra-core/src/core/CoreAdminUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ const CoreAdminUI: FunctionComponent<AdminUIProps> = ({
]);
return (
<>
{process.env.NODE_ENV === 'production' &&
{process.env.NODE_ENV === 'development' &&
disableTelemetry !== true &&
typeof window !== 'undefined' ? (
<img
src={`https://imfoxncoya.execute-api.eu-west-3.amazonaws.com/prod?domain=${window.location.hostname}`}
src={`https://react-admin-telemetry.marmelab.com/react-admin-telemetry?domain=${window.location.hostname}`}
width="0"
height=""
alt=""
Expand Down

0 comments on commit 9115b71

Please sign in to comment.