mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 00:57:38 +08:00
Update redis_test.go
This commit is contained in:
@@ -13,7 +13,7 @@ var storeConfig = ConfigDefault
|
||||
|
||||
func init() {
|
||||
if v := os.Getenv("REDIS_PORT"); v != "" {
|
||||
storeConfig.Addr = "localhost:" + v
|
||||
storeConfig.Addr = "127.0.0.1:" + v
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user