kopia lustrzana https://github.com/robinmoisson/staticrypt
handle htm files, closes #209
rodzic
a1f73613d4
commit
27a564ac61
|
@ -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
|
||||
|
|
|
@ -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": [
|
||||
|
|
Ładowanie…
Reference in New Issue