[object Object]

← back to Site Factory

sf-viewer: add missing BASIC_AUTH env (same fix as sf-orchestrator)

5a1cbc4e9c30037c8a2867e04cc45227aeb374bb · 2026-05-19 21:11:41 -0700 · SteveStudio2

Files touched

Diff

commit 5a1cbc4e9c30037c8a2867e04cc45227aeb374bb
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Tue May 19 21:11:41 2026 -0700

    sf-viewer: add missing BASIC_AUTH env (same fix as sf-orchestrator)
---
 ecosystem.config.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ecosystem.config.js b/ecosystem.config.js
index ecdaa60..e784890 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -28,7 +28,11 @@ module.exports = {
       name: 'sf-viewer',
       script: 'viewer/server.js',
       cwd: __dirname,
-      env: { NODE_ENV: 'production', PORT: 9881 },
+      env: {
+        NODE_ENV: 'production',
+        PORT: 9881,
+        BASIC_AUTH: 'admin:DWSecure2024!',
+      },
       max_memory_restart: '256M',
       autorestart: true,
       out_file: 'logs/sf-viewer.out.log',

← 1b587d3 sf-orchestrator: unwedge from May-7 schema-missing freeze  ·  back to Site Factory  ·  sf-cncp-panel: launchd → pm2 cron_restart (gui/$UID domain u e27fd4f →