沢山追加
This commit is contained in:
12
route.php
12
route.php
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user