mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
Add Redis getter
This commit is contained in:
@@ -25,6 +25,10 @@ function connect_redis() {
|
||||
|
||||
var exp = {};
|
||||
|
||||
exp.get_redis = function() {
|
||||
return redis;
|
||||
};
|
||||
|
||||
// sets the timestamp for +uuid+ to now
|
||||
exp.update_timestamp = function(uuid) {
|
||||
console.log(uuid + " cache: updating timestamp");
|
||||
|
||||
Reference in New Issue
Block a user