We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcd3cb6 commit 37c2b57Copy full SHA for 37c2b57
invokeai/frontend/web/src/services/apiSlice.ts
@@ -50,10 +50,7 @@ const dynamicBaseQuery: BaseQueryFn<
50
unknown,
51
FetchBaseQueryError
52
> = async (args, api, extraOptions) => {
53
- let baseUrl = '/api/v1';
54
- if (OpenAPI.BASE) {
55
- baseUrl = OpenAPI.BASE;
56
- }
+ const baseUrl = OpenAPI.BASE || '';
57
58
const rawBaseQuery = fetchBaseQuery({
59
baseUrl: `${baseUrl}/api/v1`,
0 commit comments