Skip to content

Commit de79305

Browse files
authored
Merge pull request #555 from ztyyLV/Jackson-branch
Update failed-to-load-resource.md
2 parents 93c59a5 + fcc1b36 commit de79305

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

faq/failed-to-load-resource.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ Note: the new certificate from Dynamsoft will expire on December 8th, 2023. This
3737

3838
- If you want to automatically update the certificate, please add following code:
3939

40-
```javascript
40+
```javascript
4141
// Add the code in dynamsoft.webtwain.configure.js file
42-
Dynamsoft.DWT.ServiceCertUpdateURL= "https://demo.dynamsoft.com/DWT/Resources/dist/cert.zip";
43-
```
44-
```javascript
45-
// Add the code in dynamsoft.webtwain.install.js file
46-
Dynamsoft.DWT.UpdateCert(
47-
Dynamsoft.DWT.ServiceCertUpdateURL,
48-
function () {
49-
   },
50-
   function (errorCode, errorString) {
51-
      console.log(errorString);
52-
   }
53-
);
54-
```
42+
Dynamsoft.DWT.ServiceCertUpdateURL= "https://demo.dynamsoft.com/DWT/Resources/dist/cert.zip";
43+
```
44+
```javascript
45+
// Add the code in dynamsoft.webtwain.install.js file
46+
Dynamsoft.DWT.UpdateCert(
47+
Dynamsoft.DWT.ServiceCertUpdateURL,
48+
function () {
49+
    },
50+
    function (errorCode, errorString) {
51+
       console.log(errorString);
52+
    }
53+
);
54+
```
5555

5656
<!--
5757

0 commit comments

Comments
 (0)