沢山追加

This commit is contained in:
2026-04-27 13:18:55 +09:00
parent f0f75124ee
commit 1bc9e594e2
21 changed files with 971 additions and 175 deletions

View File

@@ -8,6 +8,7 @@ use Site\Controller\Atom;
use Site\Controller\Fediverse;
use Site\Controller\Home;
use Site\Controller\Notfound;
use Site\Controller\Op;
use Site\Controller\Page;
use Site\Controller\User;
@@ -57,6 +58,17 @@ if (ATOM_ENABLED) {
$routes[] = Route::add('GET', 'blog.atom', Atom::class.'@feed');
}
if (OPENPROVIDER_ENABLED) {
$routes[] = Route::add('GET', 'openprovider', Op::class.'@index');
$routes[] = Route::add('GET', 'openprovider/searchcustomer', Op::class.'@opSearchCustomers');
$routes[] = Route::add('GET', 'openprovider/listtlds', Op::class.'@opListTlds');
$routes[] = Route::add('GET', 'openprovider/gettld/{tld}', Op::class.'@opGetTld');
$routes[] = Route::add('GET', 'openprovider/checkdomain', Op::class.'@opCheckDomainAvailable');
$routes[] = Route::add('GET', 'openprovider/getdomainprices', Op::class.'@opGetDomainPrices');
$routes[] = Route::add('GET', 'openprovider/listdnszones', Op::class.'@opListDns');
$routes[] = Route::add('GET', 'openprovider/getdns/{domain}', Op::class.'@opGetDns');
}
$routes[] = Route::add('GET', '', Home::class.'@show');
Route::init($routes);