fix route
This commit is contained in:
parent
90248f6bb7
commit
48d388d82c
|
@ -49,7 +49,7 @@ class Router
|
||||||
$this->routeCollector->addGroup('/.well-known', function (RouteCollector $collector) {
|
$this->routeCollector->addGroup('/.well-known', function (RouteCollector $collector) {
|
||||||
$collector->addRoute(['GET'], '/host-meta' , Module\WellKnown\HostMeta::class);
|
$collector->addRoute(['GET'], '/host-meta' , Module\WellKnown\HostMeta::class);
|
||||||
$collector->addRoute(['GET'], '/nodeinfo[/1.0]' , Module\NodeInfo::class);
|
$collector->addRoute(['GET'], '/nodeinfo[/1.0]' , Module\NodeInfo::class);
|
||||||
$collector->addRoute(['GET'], '/webfinger[/xrd]' , Module\WebFinger::class);
|
$collector->addRoute(['GET'], '/webfinger' , Module\WebFinger::class);
|
||||||
$collector->addRoute(['GET'], '/x-social-relay' , Module\WellKnown\XSocialRelay::class);
|
$collector->addRoute(['GET'], '/x-social-relay' , Module\WellKnown\XSocialRelay::class);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue