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
f54c13aec4
commit
87d254db63
3 files changed
+17
-6
No files matched your search
@@ -8,7 +8,7 @@ use LaravelZero\Framework\Commands\Command;
|
||||
|
||||
class ServeCommand extends Command
|
||||
{
|
||||
protected $signature = 'serve {host=127.0.0.1}';
|
||||
protected $signature = 'serve {host=0.0.0.0} {hostname=localhost}';
|
||||
|
||||
protected $description = 'Start the shaft server';
|
||||
|
||||
@@ -16,6 +16,7 @@ class ServeCommand extends Command
|
||||
{
|
||||
(new Factory())
|
||||
->setHost($this->argument('host'))
|
||||
->setHostname($this->argument('hostname'))
|
||||
->createServer()
|
||||
->run();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user