diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-03 10:27:30 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-03 10:27:30 -0700 |
| commit | 49e4d279c560c5204d6f0fb961e899a0a314a81f (patch) | |
| tree | 61b14d366357dbb5a0241d245e328ff2fbac48bc /src/helpers/fetchInfo.ts | |
| parent | bb249f5733cf8cd7cb0f8a33fc9f962e76e1ec7d (diff) | |
fix incorrect api url used in scoreToEmoji
Diffstat (limited to 'src/helpers/fetchInfo.ts')
| -rw-r--r-- | src/helpers/fetchInfo.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<Info> => { - 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; |
