Skip to content

Commit

Permalink
Update route.js
Browse files Browse the repository at this point in the history
  • Loading branch information
melladonna authored Dec 23, 2024
1 parent 9891e4d commit afe3ac7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/route.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { Hono } from 'hono';
import bilibili_user_dynamic from './lib/bilibili/user/dynamic';
import bilibili_user_video from './lib/bilibili/user/video';
import telegram_channel from './lib/telegram/channel';
import weibo_user from './lib/weibo/user';
import xiaohongshu_user from './lib/xiaohongshu/user';

const route = new Hono();

let plugins = [bilibili_user_dynamic, bilibili_user_video, telegram_channel, weibo_user, xiaohongshu_user];
let plugins = [bilibili_user_dynamic, telegram_channel, weibo_user, xiaohongshu_user];

for (let plugin of plugins) {
plugin.setup(route);
Expand Down

0 comments on commit afe3ac7

Please sign in to comment.