From 49e4d279c560c5204d6f0fb961e899a0a314a81f Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 3 Jun 2026 10:27:30 -0700 Subject: fix incorrect api url used in scoreToEmoji --- src/helpers/fetchInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helpers/fetchInfo.ts') diff --git a/src/helpers/fetchInfo.ts b/src/helpers/fetchInfo.ts index 248cd98..6da28aa 100644 --- a/src/helpers/fetchInfo.ts +++ b/src/helpers/fetchInfo.ts @@ -2,7 +2,7 @@ import { Info } from "../types/info"; export const fetchInfo = async (): Promise => { - const API_URL = process.env.REACT_APP_API_URL || "https://localhost:3000"; + const API_URL = process.env.REACT_APP_HEARDLE_API_URL || "https://localhost:3000"; const response = await fetch(`${API_URL}/info`); const data = await response.json(); return data as Info; -- cgit v1.2.3