We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e36bd commit 55127f7Copy full SHA for 55127f7
packages/backend/src/repoCompileUtils.ts
@@ -183,7 +183,9 @@ export const compileGiteaConfig = async (
183
.replace(/^https?:\/\//, '');
184
185
const repos = giteaRepos.map((repo) => {
186
+ const configUrl = new URL(hostUrl);
187
const cloneUrl = new URL(repo.clone_url!);
188
+ cloneUrl.host = configUrl.host
189
const repoDisplayName = repo.full_name!;
190
const repoName = path.join(repoNameRoot, repoDisplayName);
191
0 commit comments