more optimizations, remove WTVIRC for now, upgrade test.js

This commit is contained in:
zefie
2025-08-13 21:42:22 -04:00
parent 54bb975f1a
commit 22c7229e38
162 changed files with 1002 additions and 5539 deletions

View File

@@ -2,7 +2,7 @@ const minisrv_service_file = true;
const favstore_exists = session_data.favstore.favstoreExists();
if (favstore_exists != true)
if (favstore_exists !== true)
{
session_data.favstore.createFavstore();
headers = `300 OK
@@ -13,7 +13,7 @@ const folder_array = session_data.favstore.getFolders();
const url = request_headers.request;
const key = url.split('?')[1]
const scfav = session_data.favstore.getShortcutKey(key);
if (!scfav.id || scfav.id == "none") {
if (!scfav.id || scfav.id === "none") {
headers = `400 You have not assigned a favorite to ${key}`
} else {
const fav = session_data.favstore.getFavorite(scfav.folder, scfav.id);