mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -14,8 +14,15 @@ class ServeCommand extends Command
|
||||
|
||||
public function handle()
|
||||
{
|
||||
/** @var LoopInterface $loop */
|
||||
$loop = app(LoopInterface::class);
|
||||
|
||||
$loop->futureTick(function () {
|
||||
$this->info("Expose server running.");
|
||||
});
|
||||
|
||||
(new Factory())
|
||||
->setLoop(app(LoopInterface::class))
|
||||
->setLoop($loop)
|
||||
->setHost($this->argument('host'))
|
||||
->setHostname($this->argument('hostname'))
|
||||
->validateAuthTokens($this->option('validateAuthTokens'))
|
||||
|
||||
Reference in New Issue
Block a user