forked from clone/flarum-ext-redis-setup
Update src/Extend/EnableRedis.php
This commit is contained in:
@@ -86,12 +86,12 @@ class EnableRedis implements ExtenderInterface
|
|||||||
|
|
||||||
public static function getHost(): string
|
public static function getHost(): string
|
||||||
{
|
{
|
||||||
return getenv('REDIS_HOST') ? getenv('REDIS_HOST') : '127.0.0.1';
|
return getenv('REDIS_HOST') ? getenv('REDIS_HOST') : 'oskoo44cg0w8ks4wo4gkw040';
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getPassword(): ?string
|
public static function getPassword(): ?string
|
||||||
{
|
{
|
||||||
return getenv('REDIS_PASSWORD') ? getenv('REDIS_PASSWORD') : null;
|
return getenv('REDIS_PASSWORD') ? getenv('REDIS_PASSWORD') : 'YrnmBqkaGqldJJGWRMGinJtbFDiVqzjPrAc4NELHmeR52lFWF1M840eBcH3Gw6lk';
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getPort(): string
|
public static function getPort(): string
|
||||||
|
|||||||
Reference in New Issue
Block a user