diff --git a/server/handler/handler_sub_domain.go b/server/handler/handler_sub_domain.go index 0480dce..854e778 100644 --- a/server/handler/handler_sub_domain.go +++ b/server/handler/handler_sub_domain.go @@ -108,6 +108,7 @@ func handleSubDomain(log zerolog.Logger, ctx *context.Context, giteaClient *gite TryIndexPages: true, TargetOwner: targetOwner, TargetRepo: defaultPagesRepo, + TargetBranch: branch, TargetPath: path.Join(pathElements...), }, false); works { log.Debug().Msg("tryBranch, now trying upstream 6")