mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
7 lines
208 B
TypeScript
7 lines
208 B
TypeScript
import lineToday from "~/server/scrape/line_today";
|
|
export default defineEventHandler(async (event) => {
|
|
const slug = getRouterParam(event, "slug");
|
|
const data = await lineToday(slug);
|
|
return data;
|
|
});
|