Remove profile.json endpoint as it is double
This commit is contained in:
parent
8d052e1d8c
commit
67d52e1d13
@ -40,10 +40,6 @@ class ActivityPubPlugin extends Plugin
|
|||||||
['nickname' => Nickname::DISPLAY_FMT],
|
['nickname' => Nickname::DISPLAY_FMT],
|
||||||
'apactorprofile');
|
'apactorprofile');
|
||||||
|
|
||||||
$m->connect(':nickname/profile.json',
|
|
||||||
['action' => 'apActorProfile'],
|
|
||||||
['nickname' => Nickname::DISPLAY_FMT]);
|
|
||||||
|
|
||||||
$m->connect(':nickname/liked.json',
|
$m->connect(':nickname/liked.json',
|
||||||
['action' => 'apActorLikedCollection'],
|
['action' => 'apActorLikedCollection'],
|
||||||
['nickname' => Nickname::DISPLAY_FMT]);
|
['nickname' => Nickname::DISPLAY_FMT]);
|
||||||
|
Reference in New Issue
Block a user