1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +02:00

fix base url in axios (#6460)

This commit is contained in:
Prabhat Khera 2022-01-28 09:00:01 +13:00 committed by GitHub
parent 1fbf13e812
commit 5a6cd2002d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ import {
portainerAgentTargetHeader, portainerAgentTargetHeader,
} from './http-request.helper'; } from './http-request.helper';
const axiosApiInstance = axios.create({ baseURL: '/api' }); const axiosApiInstance = axios.create({ baseURL: 'api' });
export default axiosApiInstance; export default axiosApiInstance;