mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
fix: build
This commit is contained in:
parent
c30689d664
commit
d8848e10af
1 changed files with 3 additions and 1 deletions
|
|
@ -13,11 +13,13 @@ use Utopia\Validator\Host;
|
|||
*/
|
||||
class Redirect extends Host
|
||||
{
|
||||
protected array $schemes = [];
|
||||
|
||||
/**
|
||||
* @param array $hostnames White list of allowed hostnames
|
||||
* @param array $schemes White list of allowed schemes
|
||||
*/
|
||||
public function __construct(array $hostnames, array $schemes)
|
||||
public function __construct(array $hostnames = [], array $schemes = [])
|
||||
{
|
||||
$this->schemes = $schemes;
|
||||
parent::__construct($hostnames);
|
||||
|
|
|
|||
Loading…
Reference in a new issue