diff --git a/client/providers/AvatarUrlProvider.js b/client/providers/AvatarUrlProvider.js index 471d677e63ee..3ef65de8ec31 100644 --- a/client/providers/AvatarUrlProvider.js +++ b/client/providers/AvatarUrlProvider.js @@ -2,8 +2,9 @@ import React, { useMemo } from 'react'; import { Avatar } from '@rocket.chat/fuselage'; import { useSetting } from '../contexts/SettingsContext'; +import { baseURI } from '../../app/utils/client/lib/baseuri'; -const base = ''; +const base = baseURI; export function AvatarUrlProvider({ children }) { const cdn = useSetting('CDN_PREFIX_ALL');