aboutsummaryrefslogtreecommitdiffstats
path: root/server/index.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-03 03:52:44 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-03 03:52:44 -0700
commitb1c92e09707a423b7b5b01ccb60ba59a91d9f055 (patch)
treee15dbca0f613f1fff6b6761772fc69b47a3e3412 /server/index.ts
parent6c2f3296295b7b1f02ef24846db0640401101b20 (diff)
fix env var naming for CRA
Diffstat (limited to 'server/index.ts')
-rw-r--r--server/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/index.ts b/server/index.ts
index 7b4f1d5..677c736 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -11,7 +11,7 @@ app.use(cors());
app.use(express.json());
const SERVER_PORT = process.env.SERVER_PORT || 3001;
-const SALT = process.env.HEARDLE_SALT ?? 'changeme';
+const SALT = process.env.REACT_APP_HEARDLE_SALT ?? 'changeme';
function getDailyKey(): Buffer {
const date = new Date().toISOString().split('T')[0];
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage