Fix BACKEND_URL with baseClient

merge-requests/3305/head
Alex Gleason 2024-12-17 18:01:40 -06:00
rodzic dd3ac81a7b
commit 790564b74e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ export const baseClient = (
accessToken?: string | null,
baseURL?: string,
): MastodonClient => {
return new MastodonClient(baseURL || location.origin, accessToken || undefined);
return new MastodonClient(baseURL || BuildConfig.BACKEND_URL || location.origin, accessToken || undefined);
};
/**