/
boards.ts
34 lines (31 loc) · 1.17 KB
/
boards.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { Route } from '@/types';
import cache from '@/utils/cache';
import { getBoards, rootUrl } from './utils';
export const route: Route = {
path: '/student5/boards',
categories: ['bbs'],
example: '/zuvio/student5/boards',
parameters: {},
features: {
requireConfig: false,
requirePuppeteer: false,
antiCrawler: false,
supportBT: false,
supportPodcast: false,
supportScihub: false,
},
name: '看板列表',
maintainers: ['TonyRL'],
handler,
};
async function handler() {
const items = await getBoards(cache.tryGet);
return {
title: 'Zuvio 校園話題列表 - 大學生論壇',
description: 'Zuvio 校園話題,Zuvio 校園話題千種動物頭像交流心得。最萌的匿名論壇,上千種逗趣動物頭像隨你變換,點頭像立即私訊功能,讓你找到共同話題的小夥伴!多人分享配對心得、聊天交友心情在此,快加入17分享!',
image: 'https://s3.hicloud.net.tw/zuvio.public/public/system/images/irs_v4/chicken/shared/webshare.png',
link: `${rootUrl}/articles`,
item: items,
language: 'zh-Hant',
};
}