Skip to content

Commit 4c5f2ad

Browse files
committed
Update failed-to-load-resource.md
1 parent e175d94 commit 4c5f2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

faq/failed-to-load-resource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Note: the new certificate from Dynamsoft will expire on December 8th, 2023. This
3636
- For v17.2 or higher versions, use the new API <a href="{{site.info}}api/Dynamsoft_WebTwainEnv.html#updatecert" target="_blank">UpdateCert</a> to automatically update the client side certificate before it expires. **Please go to dynamsoft.webtwain.install.js file and search the keyword "OnSSLCertInfo"**, add the following lines of code:
3737
```javascript
3838
Dynamsoft.OnSSLCertInfo = function (sslExpiredDate) {
39-
if ((sslExpiredDate - new Date()) / 86400000 < 15) {
39+
if ((sslExpiredDate - new Date()) / 86400000 < 15) { // Automatically updates 15 days before expiration
4040
Dynamsoft.DWT.UpdateCert(
4141
"https://demo.dynamsoft.com/DWT/Resources/dist/cert.zip",
4242
function () {

0 commit comments

Comments
 (0)