From c060d60ba1d5f3ad9f37b48b50b694a2d19240d1 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 15 Feb 2022 21:58:20 +0000 Subject: start adding profile --- src/lib/api.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib/api.ts') diff --git a/src/lib/api.ts b/src/lib/api.ts index 3c1d8ec..db6bf81 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -1,7 +1 @@ -const BASE_URL = 'https://skyblock-api.matdoes.dev/' - -export async function get(path: string) { - const resp = await fetch(BASE_URL + path) - return await resp.json() -} - +export const API_URL = 'https://skyblock-api.matdoes.dev/' \ No newline at end of file -- cgit