mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
skip subdomain override if provided
This commit is contained in:
@@ -10,9 +10,10 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
||||
{
|
||||
$this->input->setArgument('host', basename(getcwd()).'.'.$this->detectTld());
|
||||
|
||||
$subdomain = str_replace('.', '_', basename(getcwd()));
|
||||
|
||||
$this->input->setOption('subdomain', $subdomain);
|
||||
if (! $this->hasOption('subdomain')) {
|
||||
$subdomain = str_replace('.', '_', basename(getcwd()));
|
||||
$this->input->setOption('subdomain', $subdomain);
|
||||
}
|
||||
|
||||
parent::handle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user