This commit is contained in:
Marcel Pociot committed 2020-04-24 16:10:38 +02:00
commit a3eb79b77a
19 files changed
+1873 -1562

No files matched your search

+8 -1
View File
@@ -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'))