map object path

This commit is contained in:
Mike Macgirvin 2024-06-27 07:43:47 +10:00
parent 968fc77ba6
commit c3163b6bef
2 changed files with 2 additions and 0 deletions

View file

@ -92,6 +92,7 @@ class Apgateway extends Controller
'/files/' => '/cloud/' . $channel['channel_address'],
'/photos/' => '/photos/' . $channel['channel_address'],
'/album/' => '/album/' . $channel['channel_address'],
'/object/' => '/item',
];
foreach ($systemPaths as $index => $localPath) {

View file

@ -88,6 +88,7 @@ class Nomad_gateway extends Controller
'/files/' => '/cloud/' . $channel['channel_address'],
'/photos/' => '/photos/' . $channel['channel_address'],
'/album/' => '/album/' . $channel['channel_address'],
'/object/' => '/item',
];
foreach ($systemPaths as $index => $localPath) {