mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
wip
This commit is contained in:
1 parent
018d778e5f
commit
9ce19f975e
28 files changed
+1160
-91
No files matched your search
@@ -8,7 +8,7 @@ use React\EventLoop\LoopInterface;
|
||||
|
||||
class ServeCommand extends Command
|
||||
{
|
||||
protected $signature = 'serve {host=0.0.0.0} {hostname=localhost}';
|
||||
protected $signature = 'serve {host=0.0.0.0} {hostname=localhost} {--validateAuthTokens}';
|
||||
|
||||
protected $description = 'Start the shaft server';
|
||||
|
||||
@@ -18,6 +18,7 @@ class ServeCommand extends Command
|
||||
->setLoop(app(LoopInterface::class))
|
||||
->setHost($this->argument('host'))
|
||||
->setHostname($this->argument('hostname'))
|
||||
->validateAuthTokens($this->option('validateAuthTokens'))
|
||||
->createServer()
|
||||
->run();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user