Fix regression issue and readd basic auth support (#328)

This commit is contained in:
Marcel Pociot
2022-07-04 13:26:21 +02:00
committed by GitHub
parent 5d99a0d7d8
commit 2d3b10b63d
4 changed files with 25 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ use Symfony\Component\Console\Output\OutputInterface;
class ShareCommand extends ServerAwareCommand
{
protected $signature = 'share {host} {--subdomain=} {--auth=} {--dns=} {--domain=}';
protected $signature = 'share {host} {--subdomain=} {--auth=} {--basicAuth=} {--dns=} {--domain=}';
protected $description = 'Share a local url with a remote expose server';
@@ -53,6 +53,7 @@ class ShareCommand extends ServerAwareCommand
->setHost($this->getServerHost())
->setPort($this->getServerPort())
->setAuth($auth)
->setBasicAuth($this->option('basicAuth'))
->createClient()
->share(
$this->argument('host'),