Fixed: Added support for new loom domain name

This commit is contained in:
Tom Moor
2019-05-07 19:32:03 -07:00
parent 3eb67eaecf
commit d5f6311bbc
2 changed files with 7 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
import * as React from 'react';
import Frame from './components/Frame';
const URL_REGEX = /^https:\/\/(www\.)?useloom.com\/(embed|share)\/(.*)$/;
const URL_REGEX = /^https:\/\/(www\.)?(use)?loom.com\/(embed|share)\/(.*)$/;
type Props = {
url: string,