Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Avatar url provider ignoring subfolders #17675

Merged
merged 8 commits into from
May 19, 2020
3 changes: 2 additions & 1 deletion client/providers/AvatarUrlProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down