diff --git a/app/Commands/ShareCurrentWorkingDirectoryCommand.php b/app/Commands/ShareCurrentWorkingDirectoryCommand.php index a610374..6574e88 100644 --- a/app/Commands/ShareCurrentWorkingDirectoryCommand.php +++ b/app/Commands/ShareCurrentWorkingDirectoryCommand.php @@ -13,7 +13,7 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand $this->input->setArgument('host', $host); if (! $this->option('subdomain')) { - $subdomain = str_replace('.', '_', basename(getcwd())); + $subdomain = str_replace('.', '-', basename(getcwd())); $this->input->setOption('subdomain', $subdomain); }