mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
Co-authored-by: Michael Sukkarieh <michael.sukkarieh@mail.mcgill.ca>
This commit is contained in:
parent
e4e36bd745
commit
55127f7dd9
1 changed files with 2 additions and 0 deletions
|
|
@ -183,7 +183,9 @@ export const compileGiteaConfig = async (
|
|||
.replace(/^https?:\/\//, '');
|
||||
|
||||
const repos = giteaRepos.map((repo) => {
|
||||
const configUrl = new URL(hostUrl);
|
||||
const cloneUrl = new URL(repo.clone_url!);
|
||||
cloneUrl.host = configUrl.host
|
||||
const repoDisplayName = repo.full_name!;
|
||||
const repoName = path.join(repoNameRoot, repoDisplayName);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue