forked from GNUsocial/gnu-social
AtomPub discovery fix: gets MarsEdit's auto API detection working.
Router entry for AtomPubService was slightly off, generating an incorrect link in the RSD data.
This commit is contained in:
parent
fefd9056da
commit
2ed1e9b126
@ -905,8 +905,8 @@ class Router
|
||||
// AtomPub API
|
||||
|
||||
$m->connect('api/statusnet/app/service/:id.xml',
|
||||
array('action' => 'ApiAtomService',
|
||||
'id' => Nickname::DISPLAY_FMT));
|
||||
array('action' => 'ApiAtomService'),
|
||||
array('id' => Nickname::DISPLAY_FMT));
|
||||
|
||||
$m->connect('api/statusnet/app/service.xml',
|
||||
array('action' => 'ApiAtomService'));
|
||||
|
Loading…
Reference in New Issue
Block a user