mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-05 19:51:57 +02:00
10 lines
314 B
TypeScript
10 lines
314 B
TypeScript
import {VercelRequest, VercelResponse} from '@vercel/node';
|
|
import {matchLink} from '../lib/providers/util';
|
|
import {client} from '../lib/redis';
|
|
|
|
export default async (_: VercelRequest, res: VercelResponse) => {
|
|
const keys = await client.keys('*');
|
|
|
|
res.status(200).json(keys.filter((x) => matchLink(x)));
|
|
};
|