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
|
// apply the callback if it's an HTML file
|
||||||
if (fullPath.endsWith(".html")) {
|
if (fullPath.endsWith(".html") || fullPath.endsWith(".htm")) {
|
||||||
callback(fullPath, fullRootDirectory);
|
callback(fullPath, fullRootDirectory);
|
||||||
}
|
}
|
||||||
// else just copy the file as is
|
// else just copy the file as is
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "staticrypt",
|
"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).",
|
"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",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Ładowanie…
Reference in New Issue