bugfix: agregar schema a host de gitea api
This commit is contained in:
@@ -118,7 +118,7 @@ def get_remote_api(token: str) -> RemoteAPI:
|
|||||||
[host, repository] = RemoteAPI.parse(flowconfig["flow.remote"])
|
[host, repository] = RemoteAPI.parse(flowconfig["flow.remote"])
|
||||||
|
|
||||||
if remote_type == "gitea":
|
if remote_type == "gitea":
|
||||||
return GiteaRemoteAPI(host, repository, token)
|
return GiteaRemoteAPI("https://" + host, repository, token)
|
||||||
elif remote_type == "bitbucket":
|
elif remote_type == "bitbucket":
|
||||||
return BitbucketRemoteAPI(repository, token)
|
return BitbucketRemoteAPI(repository, token)
|
||||||
elif remote_type == "github":
|
elif remote_type == "github":
|
||||||
|
|||||||
Reference in New Issue
Block a user