mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-05 19:51:57 +02:00
remove SESSIONS from envrionment example file
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
REDIS_URL=
|
REDIS_URL=
|
||||||
SESSIONS=
|
|
||||||
@@ -2,7 +2,7 @@ import {VercelRequest, VercelResponse} from '@vercel/node';
|
|||||||
import {matchLink} from '../lib/providers/util';
|
import {matchLink} from '../lib/providers/util';
|
||||||
import {client} from '../lib/redis';
|
import {client} from '../lib/redis';
|
||||||
|
|
||||||
export default async (req: VercelRequest, res: VercelResponse) => {
|
export default async (_: VercelRequest, res: VercelResponse) => {
|
||||||
const keys = await client.keys('*');
|
const keys = await client.keys('*');
|
||||||
|
|
||||||
res.status(200).json(keys.filter((x) => matchLink(x)));
|
res.status(200).json(keys.filter((x) => matchLink(x)));
|
||||||
|
|||||||
Reference in New Issue
Block a user