mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Gops: Fix incidents url adding plugin twice in it (#88472)
Fix incidents url adding plugin twice in it
This commit is contained in:
parent
56a544668f
commit
650f291054
@ -7,8 +7,7 @@ interface IncidentsPluginConfigDto {
|
|||||||
isIncidentCreated: boolean;
|
isIncidentCreated: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
const getProxyApiUrl = (path: string) =>
|
const getProxyApiUrl = (path: string) => `/api/plugins/${SupportedPlugin.Incident}/resources${path}`;
|
||||||
`/api/plugins/grafana-incident-app/resources/${SupportedPlugin.Incident}${path}`;
|
|
||||||
|
|
||||||
export const incidentsApi = alertingApi.injectEndpoints({
|
export const incidentsApi = alertingApi.injectEndpoints({
|
||||||
endpoints: (build) => ({
|
endpoints: (build) => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user