chore: use jsdelivr which is faster than unpkg.com in mainland China (#1116)

This commit is contained in:
LeoYuan 袁力皓 2022-10-10 17:07:48 +08:00 committed by GitHub
parent 8f6b53e67d
commit ca7972c9a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-code-generator",
"version": "1.0.4",
"version": "1.0.5",
"description": "出码引擎 for LowCode Engine",
"license": "MIT",
"main": "lib/index.js",

View File

@ -8,7 +8,7 @@ declare const __PACKAGE_VERSION__: string;
const packageVersion = __PACKAGE_VERSION__ || 'latest';
export const DEFAULT_WORKER_JS = `https://unpkg.com/@alilc/lowcode-code-generator@${packageVersion}/dist/standalone-worker.min.js`;
export const DEFAULT_WORKER_JS = `https://cdn.jsdelivr.net/npm/@alilc/lowcode-code-generator@${packageVersion}/dist/standalone-worker.min.js`;
export const DEFAULT_TIMEOUT_IN_MS = 60 * 1000;