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,9 +1,9 @@
if (!StrICmp("/oauth/authorize", @slon_http_request_path(session))) {
if (!StrICmp("/oauth/authorize", session->path())) {
@slon_http_send_html_file(session, "M:/Slon/Static/oauth/authorize.html");
return;
}
if (!StrICmp("/oauth/verify_access", @slon_http_request_path(session))) {
if (!StrICmp("/oauth/verify_access", session->path())) {
@slon_oauth_verify_access_get(session);
return;
}