Skip to content

Commit 6b6773f

Browse files
committed
fix: Lagrange ssl 问题
#467
1 parent d04e9f6 commit 6b6773f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/image.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ export class MsgImage {
296296
}
297297

298298
toCQ() {
299-
return this.cq.toString();
299+
// fix Lagrange ssl issue #467
300+
return this.cq.toString().replace('file=https://multimedia.nt.qq.com.cn/', 'file=http://multimedia.nt.qq.com.cn/');
300301
}
301302
}

0 commit comments

Comments
 (0)