[ActivityPub] Routes
ActivityPubPlugin: - Update routes to properly use the updated URLMapper
This commit is contained in:
parent
9de1c34bc0
commit
37936d101e
|
@ -141,21 +141,25 @@ class ActivityPubPlugin extends Plugin
|
|||
$m->connect('user/:id',
|
||||
['action' => 'apActorProfile'],
|
||||
['id' => '[0-9]+'],
|
||||
true,
|
||||
$acceptHeaders);
|
||||
|
||||
$m->connect(':nickname',
|
||||
['action' => 'apActorProfile'],
|
||||
['nickname' => Nickname::DISPLAY_FMT],
|
||||
true,
|
||||
$acceptHeaders);
|
||||
|
||||
$m->connect(':nickname/',
|
||||
['action' => 'apActorProfile'],
|
||||
['nickname' => Nickname::DISPLAY_FMT],
|
||||
true,
|
||||
$acceptHeaders);
|
||||
|
||||
$m->connect('notice/:id',
|
||||
['action' => 'apNotice'],
|
||||
['id' => '[0-9]+'],
|
||||
true,
|
||||
$acceptHeaders);
|
||||
|
||||
$m->connect(
|
||||
|
|
Loading…
Reference in New Issue
Block a user