Everywhere: Use session->path()
This commit is contained in:
parent
ff5a07dc04
commit
66074a5472
31 changed files with 48 additions and 48 deletions
|
@ -1,19 +1,19 @@
|
|||
if (!StrICmp("/.well-known/host-meta", @slon_http_request_path(session))) {
|
||||
if (!StrICmp("/.well-known/host-meta", session->path())) {
|
||||
@slon_host_meta(session);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!StrICmp("/.well-known/nodeinfo", @slon_http_request_path(session))) {
|
||||
if (!StrICmp("/.well-known/nodeinfo", session->path())) {
|
||||
@slon_nodeinfo(session);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!StrICmp("/.well-known/oauth-authorization-server", @slon_http_request_path(session))) {
|
||||
if (!StrICmp("/.well-known/oauth-authorization-server", session->path())) {
|
||||
@slon_oauth_well_known(session);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!StrICmp("/.well-known/webfinger", @slon_http_request_path(session))) {
|
||||
if (!StrICmp("/.well-known/webfinger", session->path())) {
|
||||
@slon_webfinger(session);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue