From 218710dc4d09ef7abca56923935bd495f1d18b61 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 3 Jun 2026 03:42:39 -0700 Subject: make api url public env --- src/helpers/fetchSolution.ts | 4 ++-- 1 file 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); -- cgit v1.2.3