Check nomad endpoint as well as zot endpoint for local deliveries

This commit is contained in:
Mike Macgirvin 2022-10-24 18:37:04 -07:00
parent 55d0d3bcd9
commit 36caf22a1d

View file

@ -458,7 +458,7 @@ class Queue
logger('deliver: dest: ' . $outq['outq_posturl'], LOGGER_DEBUG);
if ($outq['outq_posturl'] === z_root() . '/zot') {
if (in_array($outq['outq_posturl'], [z_root() . '/zot', z_root() . '/nomad'])) {
// local delivery
$zot = new Receiver(new NomadHandler(), $outq['outq_notify']);
$result = $zot->run();