Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Lemmy and KBin community and user references into local instance links #1462

Merged
merged 15 commits into from
Jun 22, 2023
Merged
Prev Previous commit
Next Next commit
Remove pipe from community link regex
  • Loading branch information
Zetaphor committed Jun 22, 2023
commit 773eef5126c8381b42bf1833dc7f040ad7f20b19
2 changes: 1 addition & 1 deletion src/shared/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ export const emDash = "\u2014";
* /u/[email protected]
*/
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";