use new API URL

pull/1/head
Tao Bror Bojlén 2019-02-20 20:32:34 +00:00
rodzic 872d42928c
commit fa1b47bb63
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: C6EC7AAB905F9E6F
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
import fetch from 'cross-fetch';
const API_ROOT = "https://fediverse.space/api/v1/"
const API_ROOT = "https://api.fediverse.space/api/v1/"
// const API_ROOT = "http://localhost:8000/api/v1/"
export const getFromApi = (path: string): Promise<any> => {