This commit is contained in:
yanlong.wang 2024-04-11 19:06:45 +08:00
parent 5cfb78b275
commit a9426341f6
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -11,7 +11,7 @@ import { Request, Response } from 'express';
export class CrawlerHost extends RPCHost {
logger = this.globalLogger.child({ service: this.constructor.name });
turnDownService = new TurnDownService().use(require('turndown-plugin-gfm'));
turnDownService = new TurnDownService().use(require('turndown-plugin-gfm').gfm);
constructor(
protected globalLogger: Logger,