Dont include extra dot in instructure media url

This commit is contained in:
Lucas Zawacki 2020-10-21 14:00:51 -03:00
parent 563625097e
commit 7efcd3b87e

View File

@ -120,7 +120,7 @@ export class ArcPlayer extends Component {
getHostUrl() { getHostUrl() {
const { url } = this.props; const { url } = this.props;
const m = url.match(MATCH_URL); const m = url.match(MATCH_URL);
return m && 'https://' + m[1] + '.' + m[2]; return m && 'https://' + m[1] + m[2];
} }
getEmbedUrl() { getEmbedUrl() {