Skip to content

Commit a7c8c5c

Browse files
committed
Update dynamsoft.config.ts
1 parent 5f2bf81 commit a7c8c5c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

foundational-api-samples/hello-world/svelte/src/dynamsoft.config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { CoreModule } from "dynamsoft-barcode-reader-bundle";
33
import { LicenseManager } from "dynamsoft-barcode-reader-bundle";
44

55
// Configures the paths where the .wasm files and other necessary resources for modules are located.
6-
// CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
7-
CoreModule.engineResourcePaths.rootDirectory = "https://npm.scannerproxy.com:802/cdn/@dynamsoft/";
6+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
87

98
/** LICENSE ALERT - README
109
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.
@@ -22,4 +21,4 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
2221
*/
2322

2423
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
25-
CoreModule.loadWasm(["DBR"]);
24+
CoreModule.loadWasm();

0 commit comments

Comments
 (0)