mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-17 07:25:54 +00:00
Merge pull request #76 from riasvdv/patch-1
Don't use underscore in subdomain
This commit is contained in:
@@ -13,7 +13,7 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
|||||||
$this->input->setArgument('host', $host);
|
$this->input->setArgument('host', $host);
|
||||||
|
|
||||||
if (! $this->option('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