mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
Fixes #288
This commit is contained in:
1 parent
e079a6320c
commit
729d1fc817
1 file changed
+2
@@ -41,6 +41,8 @@ class ShareCommand extends ServerAwareCommand
|
||||
$this->info('Trying to use custom domain: '.$subdomains[0].PHP_EOL, OutputInterface::VERBOSITY_VERBOSE);
|
||||
} else {
|
||||
$host = Str::beforeLast($this->argument('host'), '.');
|
||||
$host = str_replace('https://', '', $host);
|
||||
$host = str_replace('http://', '', $host);
|
||||
$host = Str::beforeLast($host, ':');
|
||||
$subdomains = [Str::slug($host)];
|
||||
$this->info('Trying to use custom domain: '.$subdomains[0].PHP_EOL, OutputInterface::VERBOSITY_VERBOSE);
|
||||
|
||||
Reference in new issue
Block a user