Everywhere: Use session->path()
This commit is contained in:
parent
ff5a07dc04
commit
66074a5472
31 changed files with 48 additions and 48 deletions
|
@ -1,4 +1,4 @@
|
|||
if (String.BeginsWith("/users/", @slon_http_request_path(session)) && String.EndsWith("json", session->header("accept"))) {
|
||||
if (String.BeginsWith("/users/", session->path()) && String.EndsWith("json", session->header("accept"))) {
|
||||
@slon_activitypub_users_get(session);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue