Update src/Extend/EnableRedis.php

This commit is contained in:
2024-10-12 16:56:42 +00:00
parent 2f2cce1abe
commit 22d94274d4

View File

@@ -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