mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
Fix subdomain check
This commit is contained in:
1 parent
c5b89e1179
commit
8b8c6c8e2e
1 file changed
+1
-1
@@ -12,7 +12,7 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
|||||||
|
|
||||||
$this->input->setArgument('host', $host);
|
$this->input->setArgument('host', $host);
|
||||||
|
|
||||||
if (! $this->hasOption('subdomain')) {
|
if (! $this->option('subdomain')) {
|
||||||
$subdomain = str_replace('.', '_', basename(getcwd()));
|
$subdomain = str_replace('.', '_', basename(getcwd()));
|
||||||
$this->input->setOption('subdomain', $subdomain);
|
$this->input->setOption('subdomain', $subdomain);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user