Fix BACKEND_URL with baseClient

This commit is contained in:
Alex Gleason 2024-12-17 18:01:40 -06:00
parent dd3ac81a7b
commit 790564b74e
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -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);
};
/**