Skip to content

Commit 73c84e1

Browse files
committed
fix: update dist pathing for camera enhancer ui
1 parent eb5aa05 commit 73c84e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ <h1 class="title">Dynamsoft Document Scanner</h1>
225225
// Initialize the Dynamsoft Document Scanner
226226
const documentScanner = new Dynamsoft.DocumentScanner({
227227
scannerViewConfig: {
228-
cameraEnhancerUIPath: "../dist/document-scanner.ui.html",
228+
cameraEnhancerUIPath: "./dist/document-scanner.ui.html",
229229
},
230230
license:
231231
"DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLTEwMzYzOTcyMSIsIm1haW5TZXJ2ZXJVUkwiOiJodHRwczovL21sdHMuZHluYW1zb2Z0LmNvbS8iLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMCIsInN0YW5kYnlTZXJ2ZXJVUkwiOiJodHRwczovL3NsdHMuZHluYW1zb2Z0LmNvbS8iLCJjaGVja0NvZGUiOjEyOTQzODU5NDJ9",

samples/hello-world.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h1 style="font-size: large">Dynamsoft Document Scanner</h1>
2727
// Initialize the Dynamsoft Document Scanner
2828
const documentScanner = new Dynamsoft.DocumentScanner({
2929
scannerViewConfig: {
30-
cameraEnhancerUIPath: "../dist/document-scanner.ui.html",
30+
cameraEnhancerUIPath: "./dist/document-scanner.ui.html",
3131
},
3232
license:
3333
"DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLTEwMzYzOTcyMSIsIm1haW5TZXJ2ZXJVUkwiOiJodHRwczovL21sdHMuZHluYW1zb2Z0LmNvbS8iLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMCIsInN0YW5kYnlTZXJ2ZXJVUkwiOiJodHRwczovL3NsdHMuZHluYW1zb2Z0LmNvbS8iLCJjaGVja0NvZGUiOjEyOTQzODU5NDJ9",

0 commit comments

Comments
 (0)