diff --git a/shared/editor/embeds/ClickUp.tsx b/shared/editor/embeds/ClickUp.tsx index 385e8e3bd..8bf00efd1 100644 --- a/shared/editor/embeds/ClickUp.tsx +++ b/shared/editor/embeds/ClickUp.tsx @@ -2,12 +2,13 @@ import * as React from "react"; import Frame from "../components/Frame"; import { EmbedProps as Props } from "."; -const URL_REGEX = new RegExp( - "^https?://share\\.clickup\\.com/[a-z]/[a-z]/(.*)/(.*)$" -); - export default class ClickUp extends React.Component { - static ENABLED = [URL_REGEX]; + static ENABLED = [ + new RegExp("^https?://share\\.clickup\\.com/[a-z]/[a-z]/(.*)/(.*)$"), + new RegExp( + "^https?://sharing\\.clickup\\.com/[0-9]+/[a-z]/[a-z]/(.*)/(.*)$" + ), + ]; render() { return (