mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +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}
|
||||
content={body}
|
||||
matchers={[
|
||||
new UrlMatcher('url', { validateTLD: false }),
|
||||
new UrlMatcher('url', { customTLDs: ['online'] }),
|
||||
new ChatMessageHighlightMatcher('highlight', { highlightString }),
|
||||
]}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue