Everywhere: Use session->path()
This commit is contained in:
parent
ff5a07dc04
commit
66074a5472
31 changed files with 48 additions and 48 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue