mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 03:01:16 +00:00
chore: use jsdelivr which is faster than unpkg.com in mainland China (#1116)
This commit is contained in:
parent
8f6b53e67d
commit
ca7972c9a7
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@alilc/lowcode-code-generator",
|
"name": "@alilc/lowcode-code-generator",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"description": "出码引擎 for LowCode Engine",
|
"description": "出码引擎 for LowCode Engine",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
|
|||||||
@ -8,7 +8,7 @@ declare const __PACKAGE_VERSION__: string;
|
|||||||
|
|
||||||
const packageVersion = __PACKAGE_VERSION__ || 'latest';
|
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;
|
export const DEFAULT_TIMEOUT_IN_MS = 60 * 1000;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user