feat: OCR识别库cdn加速增加字节跳动地址
This commit is contained in:
@@ -2517,6 +2517,7 @@ export default function HomePage() {
|
|||||||
let worker = ocrWorkerRef.current;
|
let worker = ocrWorkerRef.current;
|
||||||
if (!worker) {
|
if (!worker) {
|
||||||
const cdnBases = [
|
const cdnBases = [
|
||||||
|
'https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M',
|
||||||
'https://cdn.jsdelivr.net/npm',
|
'https://cdn.jsdelivr.net/npm',
|
||||||
'https://cdn.jsdmirror.com/npm'
|
'https://cdn.jsdmirror.com/npm'
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user