mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
fix(chat): enable tld validation in autolinking and add online to accepted tlds
This commit is contained in:
parent
809196527d
commit
a86049729e
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ export const ChatUserMessage: FC<ChatUserMessageProps> = ({
|
||||||
className={styles.message}
|
className={styles.message}
|
||||||
content={body}
|
content={body}
|
||||||
matchers={[
|
matchers={[
|
||||||
new UrlMatcher('url', { validateTLD: false }),
|
new UrlMatcher('url', { customTLDs: ['online'] }),
|
||||||
new ChatMessageHighlightMatcher('highlight', { highlightString }),
|
new ChatMessageHighlightMatcher('highlight', { highlightString }),
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue