use new API URL

This commit is contained in:
Tao Bror Bojlén 2019-02-20 20:32:34 +00:00
parent 872d42928c
commit fa1b47bb63
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
1 changed files with 1 additions and 1 deletions

View File

@ -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> => {