From 8f187a4faf4b413e18a13e628c126f2e48ac6823 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 3 Jun 2026 19:29:09 -0700 Subject: remove /info move startDate back to client side --- src/helpers/fetchInfo.ts | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/helpers/fetchInfo.ts (limited to 'src/helpers/fetchInfo.ts') 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 => { - 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; -}; -- cgit v1.2.3