5 lines
182 B
JavaScript
5 lines
182 B
JavaScript
var redis = require("redis"),
|
|
client = redis.createClient();
|
|
|
|
// This command is magical. Client stashes the password and will issue on every connect.
|
|
client.auth("somepass");
|