Remove debug logging and add feature documentation

- Remove all console.log statements added during development
- Clean up code for production readiness
This commit is contained in:
Craig Lawson committed 2026-01-11 18:56:16 +00:00
1 parent 76ab2695db
commit 7b619e6b31
4 files changed
+2 -29

No files matched your search

+2 -13
View File
@@ -261,20 +261,9 @@ class StatusPageModule {
const { statusPage, monitors } = statusPageQuery[0];
const appSettings = await this.AppSettings.findOne({ singleton: true }).lean();
const showURL = appSettings?.showURL === true || appSettings?.showURL === "true";
const showURL = appSettings?.showURL === true;
// eslint-disable-next-line no-console
console.log("=== STATUS PAGE FETCH ===");
// eslint-disable-next-line no-console
console.log("appSettings object:", JSON.stringify(appSettings, null, 2));
// eslint-disable-next-line no-console
console.log("appSettings.showURL value:", appSettings?.showURL);
// eslint-disable-next-line no-console
console.log("appSettings.showURL type:", typeof appSettings?.showURL);
// eslint-disable-next-line no-console
console.log("showURL after check:", showURL);
const normalizedMonitors = monitors.map((monitor) => {
const normalizedMonitors = monitors.map((monitor) => {
const normalizedChecks = this.NormalizeData(monitor.checks, 10, 100);
if (showURL !== true) {
const { url, port, secret, notifications, ...rest } = monitor;