mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
Added custom server host ability
This commit is contained in:
@@ -7,7 +7,7 @@ use React\EventLoop\LoopInterface;
|
||||
|
||||
class ShareFilesCommand extends ServerAwareCommand
|
||||
{
|
||||
protected $signature = 'share-files {folder=.} {--name=} {--subdomain=} {--auth=}';
|
||||
protected $signature = 'share-files {folder=.} {--name=} {--subdomain=} {--auth=} {--domain=}';
|
||||
|
||||
protected $description = 'Share a local folder with a remote expose server';
|
||||
|
||||
@@ -28,7 +28,8 @@ class ShareFilesCommand extends ServerAwareCommand
|
||||
->shareFolder(
|
||||
$this->argument('folder'),
|
||||
$this->option('name') ?? '',
|
||||
explode(',', $this->option('subdomain'))
|
||||
explode(',', $this->option('subdomain')),
|
||||
$this->option('domain')
|
||||
)
|
||||
->createHttpServer()
|
||||
->run();
|
||||
|
||||
Reference in New Issue
Block a user