mirror of
https://github.com/bitinflow/expose.git
synced 2026-10-31 20:59:09 +00:00
wip
This commit is contained in:
commit
a3eb79b77a
19 files changed
+1873
-1562
No files matched your search
@@ -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