From e522117c2a99b65ce6a65a0f177de562f38d5af5 Mon Sep 17 00:00:00 2001 From: Tao Bojlen Date: Mon, 3 Sep 2018 23:31:53 +0200 Subject: [PATCH] use correct API endpoint (oops) --- frontend/src/util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/util.ts b/frontend/src/util.ts index 42a332a..704cbf2 100644 --- a/frontend/src/util.ts +++ b/frontend/src/util.ts @@ -1,7 +1,7 @@ import fetch from 'cross-fetch'; -// const API_ROOT = "https://fediverse.space/api/v1/" -const API_ROOT = "http://localhost:8000/api/v1/" +const API_ROOT = "https://fediverse.space/api/v1/" +// const API_ROOT = "http://localhost:8000/api/v1/" export const getFromApi = (path: string): Promise => { const domain = API_ROOT.endsWith("/") ? API_ROOT : API_ROOT + "/";