use new API URL
This commit is contained in:
parent
872d42928c
commit
fa1b47bb63
|
@ -1,6 +1,6 @@
|
||||||
import fetch from 'cross-fetch';
|
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/"
|
// const API_ROOT = "http://localhost:8000/api/v1/"
|
||||||
|
|
||||||
export const getFromApi = (path: string): Promise<any> => {
|
export const getFromApi = (path: string): Promise<any> => {
|
||||||
|
|
Loading…
Reference in a new issue