API client generation: create a central getAPIBaseURL function (#99961)

* create a getAPIBaseURL function

* use base url in iam api
This commit is contained in:
Ashley Harrison
2025-02-03 13:05:47 +00:00
committed by GitHub
parent c85a175212
commit 30bf2bcde1
11 changed files with 38 additions and 52 deletions

View File

@@ -30,7 +30,7 @@ import templatingReducers from 'app/features/variables/state/keyedVariablesReduc
import { alertingApi } from '../../features/alerting/unified/api/alertingApi';
import { iamApi } from '../../features/iam/api/api';
import { userPreferencesAPI } from '../../features/preferences/api';
import { queryLibraryApi } from '../../features/query-library/api/factory';
import { queryLibraryApi } from '../../features/query-library/api/api';
import { cleanUpAction } from '../actions/cleanUp';
const rootReducers = {