mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
Fix subdomain check
This commit is contained in:
@@ -12,7 +12,7 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
||||
|
||||
$this->input->setArgument('host', $host);
|
||||
|
||||
if (! $this->hasOption('subdomain')) {
|
||||
if (! $this->option('subdomain')) {
|
||||
$subdomain = str_replace('.', '_', basename(getcwd()));
|
||||
$this->input->setOption('subdomain', $subdomain);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user