core: remove extra log

This commit is contained in:
undefined committed 2021-11-01 11:21:02 +08:00
1 parent 710f7c7086
commit a68a1851b2
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -319,7 +319,6 @@ export class ProblemDetailHandler extends ProblemHandler {
// e.g. ![img](a.jpg) will navigate to ![img](./pid/file/a.jpg)
if (!this.request.json) {
if (args[1]) {
console.log(this.response.body.pdoc.content);
this.response.body.pdoc.content = this.response.body.pdoc.content
.replace(/\(file:\/\/(.+?)\)/g, (str) => {
const info = str.match(/\(file:\/\/(.+?)\)/);