Everywhere: Use session->path()

This commit is contained in:
Alec Murphy 2025-02-21 18:10:25 -05:00
parent ff5a07dc04
commit 66074a5472
31 changed files with 48 additions and 48 deletions

View file

@ -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;
}