|
@@ -2,9 +2,10 @@ import { useQuery } from '@tanstack/react-query';
|
|
|
import { BASE_PARAMS, QUERY_REFETCH_OFF_OPTIONS } from 'lib/constants';
|
|
|
|
|
|
const fetchActuatorInfo = async () => {
|
|
|
- const data = await fetch('/actuator/info', BASE_PARAMS).then((res) =>
|
|
|
- res.json()
|
|
|
- );
|
|
|
+ const data = await fetch(
|
|
|
+ `${BASE_PARAMS.basePath}/actuator/info`,
|
|
|
+ BASE_PARAMS
|
|
|
+ ).then((res) => res.json());
|
|
|
|
|
|
return data;
|
|
|
};
|