[object Object]

← back to Animals

animals-viewer: set BASIC_AUTH env so the app starts (was crash-looping on missing env)

588c368faa34821c6a15891c61c84bc1064292ab · 2026-05-11 15:47:31 -0700 · SteveStudio2

Files touched

Diff

commit 588c368faa34821c6a15891c61c84bc1064292ab
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date:   Mon May 11 15:47:31 2026 -0700

    animals-viewer: set BASIC_AUTH env so the app starts (was crash-looping on missing env)
---
 ecosystem.config.cjs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs
index c66a950..a83d738 100644
--- a/ecosystem.config.cjs
+++ b/ecosystem.config.cjs
@@ -17,7 +17,8 @@ module.exports = {
       name: 'animals-viewer',
       script: 'src/server/index.js',
       cwd: __dirname,
-      env: { NODE_ENV: 'production', PORT: 9720 },
+      env: { NODE_ENV: 'production', PORT: 9720,
+      BASIC_AUTH: 'admin:DWSecure2024!' },
       max_memory_restart: '1G',
       autorestart: true,
       out_file: 'logs/animals-viewer.out.log',

← 3846ae8 yolo: Adoption events on /shows page  ·  back to Animals  ·  yolo: Codex debate on agent's own diff aea9589 →