mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 04:29:04 +08:00
feat: update to use v2 instance
This commit is contained in:
parent
5c02250aae
commit
42ac9ab6fe
@ -175,12 +175,12 @@ export const GatewayApiV2Instance = axios.create({
|
|||||||
baseURL: `${ENVIRONMENT.baseURL}${gatewayApiV2}`,
|
baseURL: `${ENVIRONMENT.baseURL}${gatewayApiV2}`,
|
||||||
});
|
});
|
||||||
|
|
||||||
GatewayApiV1Instance.interceptors.response.use(
|
GatewayApiV2Instance.interceptors.response.use(
|
||||||
interceptorsResponse,
|
interceptorsResponse,
|
||||||
interceptorRejected,
|
interceptorRejected,
|
||||||
);
|
);
|
||||||
|
|
||||||
GatewayApiV1Instance.interceptors.request.use(interceptorsRequestResponse);
|
GatewayApiV2Instance.interceptors.request.use(interceptorsRequestResponse);
|
||||||
//
|
//
|
||||||
|
|
||||||
AxiosAlertManagerInstance.interceptors.response.use(
|
AxiosAlertManagerInstance.interceptors.response.use(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user