feat: custom local repository path

This commit is contained in:
Nicolas Meienberger
2025-11-17 18:17:51 +01:00
parent 4d48d7be58
commit c726c6fc72
4 changed files with 156 additions and 7 deletions

View File

@@ -71,7 +71,7 @@ const ensurePassfile = async () => {
const buildRepoUrl = (config: RepositoryConfig): string => {
switch (config.backend) {
case "local":
return `${REPOSITORY_BASE}/${config.name}`;
return `${config.path}/${config.name}` || `${REPOSITORY_BASE}/${config.name}`;
case "s3":
return `s3:${config.endpoint}/${config.bucket}`;
case "r2": {