Skip to content

Commit

Permalink
Merge pull request #498 from wabbajack-tools/EzioTheDeadPoet-patch-1
Browse files Browse the repository at this point in the history
fixed discord regex
  • Loading branch information
EzioTheDeadPoet authored Mar 12, 2024
2 parents 7aefa78 + b084a2b commit 927d32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wabbajack.Web/Pages/Gallery/Gallery.razor
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
{
var readme = modlist.Links.Readme;
var discordLink = modlist.Links.DiscordURL;
var discordRegex = @"(https?:\/\/)?(www\.)?(discord\.(gg|com|io|me|li)|discordapp\.com\/invite)\/.+[a-z]";
var discordRegex = @"(https?:\/\/)?(www\.)?(discord\.(gg|com|io|me|li)|discordapp\.com\/invite)\/.+";
var viewLink = LinkUtils.CanRenderReadme(readme)
? ModlistInfo.CreateRedirect(modlist.RepositoryName, modlist.Links.MachineURL)
: readme;
Expand Down

0 comments on commit 927d32b

Please sign in to comment.