← back to Approvals Viewer
pin approvals-swipe to stable port 9788
65b30e1d5763f98ec59ca0852f04a9e307681fc0 · 2026-07-31 08:53:02 -0700 · steve
Files touched
Diff
commit 65b30e1d5763f98ec59ca0852f04a9e307681fc0
Author: steve <steve@designerwallcoverings.com>
Date: Fri Jul 31 08:53:02 2026 -0700
pin approvals-swipe to stable port 9788
---
server.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.js b/server.js
index 4470e88..cac9782 100644
--- a/server.js
+++ b/server.js
@@ -39,4 +39,4 @@ http.createServer((req,res)=>{
fs.appendFileSync(LOG,JSON.stringify({ts:new Date().toISOString(),file,decision:'undo:'+decision})+'\n');send(res,200,'{"ok":true}');
}catch(e){send(res,400,JSON.stringify({error:String(e.message)}));}});return;}
send(res,404,'nf','text/plain');
-}).listen(0,'127.0.0.1',function(){const port=this.address().port;fs.writeFileSync(path.join(__dirname,'.port'),String(port));console.log('approvals-viewer http://127.0.0.1:'+port+' (admin/DW2024!)');});
+}).listen(process.env.PORT||9788,'127.0.0.1',function(){const port=this.address().port;fs.writeFileSync(path.join(__dirname,'.port'),String(port));console.log('approvals-viewer http://127.0.0.1:'+port+' (admin/DW2024!)');});
← 4cc1b1d approvals yes/no swipe viewer
·
back to Approvals Viewer
·
drop basic-auth (localhost-only tool) 33ba103 →