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
2b03398f40
commit
f54c13aec4
1 file changed
+2
-1
@@ -8,13 +8,14 @@ use LaravelZero\Framework\Commands\Command;
|
|||||||
|
|
||||||
class ServeCommand extends Command
|
class ServeCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = 'serve';
|
protected $signature = 'serve {host=127.0.0.1}';
|
||||||
|
|
||||||
protected $description = 'Start the shaft server';
|
protected $description = 'Start the shaft server';
|
||||||
|
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
(new Factory())
|
(new Factory())
|
||||||
|
->setHost($this->argument('host'))
|
||||||
->createServer()
|
->createServer()
|
||||||
->run();
|
->run();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user