Skip to content

Commit

Permalink
[FIX] Avatar url provider ignoring subfolders (#17675)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored May 19, 2020
1 parent 3920219 commit 171d515
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 171d515

Please sign in to comment.