Remove profile.json endpoint as it is double

This commit is contained in:
Diogo Cordeiro 2018-07-06 11:15:08 +01:00
parent 8d052e1d8c
commit 67d52e1d13

View File

@ -40,10 +40,6 @@ class ActivityPubPlugin extends Plugin
['nickname' => Nickname::DISPLAY_FMT],
'apactorprofile');
$m->connect(':nickname/profile.json',
['action' => 'apActorProfile'],
['nickname' => Nickname::DISPLAY_FMT]);
$m->connect(':nickname/liked.json',
['action' => 'apActorLikedCollection'],
['nickname' => Nickname::DISPLAY_FMT]);