mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Fix regression issue and readd basic auth support (#328)
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user