fix base url in axios (#6460)

pull/6495/head
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
1 changed files with 1 additions and 1 deletions

View File

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