← back to Bertha
fix: replace backticks in comment inside KEN_INC_HTML template literal (syntax error) + add backup file patterns to .gitignore
074ac289e9c8798feb39e5a4e45a9d8cc1bff144 · 2026-05-30 23:49:02 -0700 · SteveStudio2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Files touched
M .gitignoreM kalshi-dash/server.js
Diff
commit 074ac289e9c8798feb39e5a4e45a9d8cc1bff144
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Sat May 30 23:49:02 2026 -0700
fix: replace backticks in comment inside KEN_INC_HTML template literal (syntax error) + add backup file patterns to .gitignore
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
.gitignore | 8 ++++++++
kalshi-dash/server.js | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 8d3a1ef..a11bb31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,11 @@ tmp/
dist/
build/
.next/
+*.bak
+*.bak-*
+*.pre-*
+*.orig
+*.save
+*.old
+*~
+copy-of-*
diff --git a/kalshi-dash/server.js b/kalshi-dash/server.js
index 27348eb..25b2cbf 100644
--- a/kalshi-dash/server.js
+++ b/kalshi-dash/server.js
@@ -3557,7 +3557,7 @@ const { useState, useEffect, useRef } = React;
// SECURITY (audit 2026-05-04): inline literal credentials shipped to every
// browser via this <script> block. Removed. Dashboard MUST be refactored to
-// use the server-side session cookie (`kalshi_session`) for auth — the cookie
+// use the server-side session cookie ('kalshi_session') for auth — the cookie
// is already set on login and Express forwards it on subsequent requests.
// Until refactor: dashboard fetches will 401 visibly, signaling the work needed.
const AUTH = '';
← 2efe34d security: strip hardcoded dw_admin DSN password -> env-first
·
back to Bertha
·
(newest)