mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-14 14:05:54 +00:00
Allow users to specify custom hostnames
This commit is contained in:
@@ -4,7 +4,7 @@ namespace App\Commands;
|
||||
|
||||
class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
||||
{
|
||||
protected $signature = 'share-cwd {host?} {--subdomain=} {--auth=}';
|
||||
protected $signature = 'share-cwd {host?} {--hostname=} {--subdomain=} {--auth=}';
|
||||
|
||||
public function handle()
|
||||
{
|
||||
@@ -13,7 +13,7 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
||||
|
||||
$this->input->setArgument('host', $host);
|
||||
|
||||
if (! $this->option('subdomain')) {
|
||||
if (! $this->option('subdomain') && ! $this->option('hostname')) {
|
||||
$this->input->setOption('subdomain', $subdomain);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user