mirror of
https://github.com/nix-community/nurl.git
synced 2024-09-11 18:39:19 +03:00
add more gitea hosts
This commit is contained in:
parent
946688974f
commit
be1ef9d3c1
@ -65,9 +65,11 @@ fn main() -> Result<()> {
|
||||
FetchFromGitLab::new(Some(host)).into()
|
||||
}
|
||||
|
||||
(None | Some(FetcherFunction::FetchFromGitea), Some(host @ "codeberg.org"), _) => {
|
||||
FetchFromGitea(host).into()
|
||||
}
|
||||
(
|
||||
None | Some(FetcherFunction::FetchFromGitea),
|
||||
Some(host @ ("codeberg.org" | "gitea.com" | "notabug.org")),
|
||||
_,
|
||||
) => FetchFromGitea(host).into(),
|
||||
(Some(FetcherFunction::FetchFromGitea), Some(host), _) => FetchFromGitea(host).into(),
|
||||
|
||||
(None | Some(FetcherFunction::FetchFromGitiles), Some(host), _)
|
||||
|
Loading…
Reference in New Issue
Block a user