S2OJ/web/app/controllers/subdomain/api/route.php

13 lines
300 B
PHP
Raw Normal View History

<?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');
}
);
});