Skip to content

Commit

Permalink
fixed discord regex
Browse files Browse the repository at this point in the history
  • Loading branch information
EzioTheDeadPoet authored Mar 12, 2024
1 parent 7aefa78 commit b084a2b
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 b084a2b

Please sign in to comment.