diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-03 03:42:39 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-03 03:42:39 -0700 |
| commit | 218710dc4d09ef7abca56923935bd495f1d18b61 (patch) | |
| tree | c2ac5f212a78633033d30fb795ea997c40d5554a | |
| parent | 86188081fd363ac91943b3f5d7e2b9254c4f9ad9 (diff) | |
make api url public env
| -rw-r--r-- | src/helpers/fetchSolution.ts | 4 |
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); |
