mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-12 08:34:15 +03:00
18 lines
340 B
PHP
18 lines
340 B
PHP
<?php
|
|
|
|
use OpenCCK\Infrastructure\API\App;
|
|
use OpenCCK\Infrastructure\API\Server;
|
|
|
|
use Amp\ByteStream\BufferException;
|
|
|
|
require_once 'vendor/autoload.php';
|
|
|
|
App::getInstance()
|
|
->addModule(
|
|
/**
|
|
* @throws Throwable
|
|
* @throws BufferException
|
|
*/ fn(App $app) => Server::getInstance()
|
|
)
|
|
->start();
|