aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-03 03:42:39 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-03 03:42:39 -0700
commit218710dc4d09ef7abca56923935bd495f1d18b61 (patch)
treec2ac5f212a78633033d30fb795ea997c40d5554a
parent86188081fd363ac91943b3f5d7e2b9254c4f9ad9 (diff)
make api url public env
-rw-r--r--src/helpers/fetchSolution.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/fetchSolution.ts b/src/helpers/fetchSolution.ts
index b43722a..2726049 100644
--- a/src/helpers/fetchSolution.ts
+++ b/src/helpers/fetchSolution.ts
@@ -1,7 +1,7 @@
import { Song } from "../types/song";
-const SALT = process.env.HEARDLE_SALT ?? 'changeme';
-const API_URL = process.env.HEARDLE_API_URL ?? 'http://localhost:3001';
+const SALT = process.env.NEXT_HEARDLE_SALT ?? 'changeme';
+const API_URL = process.env.NEXT_HEARDLE_API_URL ?? 'http://localhost:3001';
function hexToBytes(hex: string): Uint8Array {
const bytes = new Uint8Array(hex.length / 2);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage