diff --git a/cli/helpers.js b/cli/helpers.js index 5cc65d4..a0f8a91 100644 --- a/cli/helpers.js +++ b/cli/helpers.js @@ -355,7 +355,7 @@ function recursivelyApplyCallbackToHtmlFiles(callback, path, outputDirectory, ro } // apply the callback if it's an HTML file - if (fullPath.endsWith(".html")) { + if (fullPath.endsWith(".html") || fullPath.endsWith(".htm")) { callback(fullPath, fullRootDirectory); } // else just copy the file as is diff --git a/package.json b/package.json index f435fe4..e7fd16c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "staticrypt", - "version": "3.5.2", + "version": "3.5.3", "description": "Password protect a static HTML file without a backend - StatiCrypt uses AES-256 wiht WebCrypto to encrypt your input with your long password and put it in a HTML file with a password prompt that can decrypted in-browser (client side).", "main": "index.js", "files": [