S2OJ/web/app/controllers/subdomain/api/route.php
Baoshuo 50e7fdf1cc
All checks were successful
continuous-integration/drone/push Build is passing
feat(problem/remote): validate remote account status
2023-02-03 19:35:04 +08:00

13 lines
300 B
PHP

<?php
call_user_func(function () { // to prevent variable scope leak
Route::group(
[
'domain' => UOJConfig::$data['web']['main']['host'],
],
function () {
Route::post("/api/remote_judge/custom_account_validator", '/subdomain/api/remote_judge/custom_account_validator.php');
}
);
});