mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
skip subdomain override if provided
This commit is contained in:
1 parent
baa9819daf
commit
5c77dbb882
1 file changed
+2
-1
@@ -10,9 +10,10 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
||||
{
|
||||
$this->input->setArgument('host', basename(getcwd()).'.'.$this->detectTld());
|
||||
|
||||
if (! $this->hasOption('subdomain')) {
|
||||
$subdomain = str_replace('.', '_', basename(getcwd()));
|
||||
|
||||
$this->input->setOption('subdomain', $subdomain);
|
||||
}
|
||||
|
||||
parent::handle();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user