mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
fix send message. look at redis on session create
This commit is contained in:
parent
818f8721e9
commit
54ade11a98
5 changed files with 38 additions and 40 deletions
|
|
@ -1,16 +1,5 @@
|
|||
import { redis } from 'lib/redis';
|
||||
import { ok } from 'lib/response';
|
||||
|
||||
export default async (req, res) => {
|
||||
console.log('------------------------------------------------------------------------------');
|
||||
// const redis = new createClient({
|
||||
// url: process.env.REDIS_URL,
|
||||
// });
|
||||
|
||||
//console.log(redis.get);
|
||||
|
||||
const value = await redis.get('session:77c0b9de-677a-5268-8543-6018f0776a81');
|
||||
console.log('complete');
|
||||
|
||||
return ok(res, value);
|
||||
return ok(res, 'nice');
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue