Remove pipe from community link regex

This commit is contained in:
Zetaphor 2023-06-22 15:43:01 -03:00
parent d6e9b20a6c
commit 773eef5126

View file

@ -33,6 +33,6 @@ export const emDash = "\u2014";
* /u/username@server.com * /u/username@server.com
*/ */
export const instanceLinkRegex = export const instanceLinkRegex =
/(\/[c|m|u]\/|!)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g; /(\/[cmu]\/|!)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g;
export const testHost = "0.0.0.0:8536"; export const testHost = "0.0.0.0:8536";