handle htm files, closes #209

main
robinmoisson 2025-02-19 22:56:06 +01:00
rodzic a1f73613d4
commit 27a564ac61
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 05C05FC1814FBF27
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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": [