aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/fetchInfo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/fetchInfo.ts')
-rw-r--r--src/helpers/fetchInfo.ts2
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;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage