mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 20:19:56 +02:00
Everywhere: Use session->path()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user