Skip to content

Commit

Permalink
fix: Allow package repository urls to be http. (bagetter#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
seriouz committed Aug 7, 2024
1 parent 0f16eaa commit 70f667f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private static (Uri repositoryUrl, string repositoryType) GetRepositoryMetadata(
return (null, null);
}

if (repositoryUri.Scheme != Uri.UriSchemeHttps)
if (repositoryUri.Scheme != Uri.UriSchemeHttps && repositoryUri.Scheme != Uri.UriSchemeHttp)
{
return (null, null);
}
Expand Down

0 comments on commit 70f667f

Please sign in to comment.