mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:35:12 +00:00
Check nomad endpoint as well as zot endpoint for local deliveries
This commit is contained in:
parent
55d0d3bcd9
commit
36caf22a1d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue