mirror of
https://github.com/rekryt/iplist.git
synced 2025-07-31 16:24:37 +02: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();
|