Improve reliability of embed regex (missing start char)

This commit is contained in:
Tom Moor
2023-07-08 12:04:03 -04:00
parent 6bc1b789ee
commit 98a182c892
10 changed files with 13 additions and 11 deletions

View File

@@ -14,6 +14,6 @@ function Otter(props: Props) {
);
}
Otter.ENABLED = [new RegExp("https?://otter\\.ai/[su]/(.*)$")];
Otter.ENABLED = [new RegExp("^https?://otter\\.ai/[su]/(.*)$")];
export default Otter;