rsshub
Version:
Make RSS Great Again!
15 lines (14 loc) • 308 B
JavaScript
//#region lib/routes/liulinblog/itnews.ts
const route = {
path: "/itnews/:channel",
name: "Unknown",
maintainers: [],
handler
};
function handler(ctx) {
const { channel } = ctx.req.param();
const redirectTo = `/liulinblog/${channel}`;
ctx.set("redirect", redirectTo);
}
//#endregion
export { route };