mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-09-08 01:05:18 +00:00
fix: loj api endpoint
This commit is contained in:
parent
8720fb3079
commit
8d7be35797
@ -79,7 +79,7 @@ if ($type == 'luogu') {
|
||||
}, 3);
|
||||
} else if ($type == 'loj') {
|
||||
retry_loop(function () use (&$curl, &$res) {
|
||||
$curl->get('https://api.loj.ac.cn/api/auth/getSessionInfo?token=' . UOJRequest::post('token', 'is_string', ''));
|
||||
$curl->get('https://api.loj.ac/api/auth/getSessionInfo?token=' . UOJRequest::post('token', 'is_string', ''));
|
||||
|
||||
if ($curl->error) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user