aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/fetchInfo.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-03 19:29:09 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-03 19:29:09 -0700
commit8f187a4faf4b413e18a13e628c126f2e48ac6823 (patch)
tree628ea36dea2802c8499b61de550b6df85902c6d7 /src/helpers/fetchInfo.ts
parent470adff2f38e66411255977c9d467abbf2098e9c (diff)
remove /info move startDate back to client side
Diffstat (limited to 'src/helpers/fetchInfo.ts')
-rw-r--r--src/helpers/fetchInfo.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/helpers/fetchInfo.ts b/src/helpers/fetchInfo.ts
deleted file mode 100644
index 15cf963..0000000
--- a/src/helpers/fetchInfo.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-
-import { Info } from "../types/info";
-
-export const fetchInfo = async (): Promise<Info> => {
- const API_URL = import.meta.env.VITE_APP_HEARDLE_API_URL || "http://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