modified: apps/bika.js

This commit is contained in:
yeyang
2023-01-31 03:28:21 +08:00
parent 0b32a4f761
commit f9e3e5211b
2 changed files with 5 additions and 4 deletions

View File

@@ -26,19 +26,19 @@ export class newBika extends plugin {
fnc: 'comicPage'
},
{
reg: `#?${Prefix}类别列表`,
reg: `^#?${Prefix}类别列表$`,
fnc: 'categories'
},
{
reg: `#?${Prefix}(详情|细节)(.*)`,
reg: `^#?${Prefix}(详情|细节)(.*)$`,
fnc: 'comicDetail'
},
{
reg: `#?${Prefix}修改图片质量(.*)`,
reg: `^#?${Prefix}修改图片质量(.*)$`,
fnc: 'imageQuality'
},
{
reg: `#?${Prefix}(开启|关闭)直连`,
reg: `^#?${Prefix}(开启|关闭)直连$`,
fnc: 'directConnection'
}
]

View File

@@ -114,6 +114,7 @@ export default new (class {
return res.map(item => {
let { title, thumb, description = '未知' } = item
let { fileServer, path } = thumb
fileServer = /static/.test(fileServer) ? fileServer : fileServer + '/static/'
return [
`category: ${title}\n`,
`描述:${description}\n`,