From 5a6cd2002d68c55a6b5ff7f3ca90c7a5f2341407 Mon Sep 17 00:00:00 2001 From: Prabhat Khera <91852476+prabhat-org@users.noreply.github.com> Date: Fri, 28 Jan 2022 09:00:01 +1300 Subject: [PATCH] fix base url in axios (#6460) --- app/portainer/services/axios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portainer/services/axios.ts b/app/portainer/services/axios.ts index 9bbf528a8..e78e1a29e 100644 --- a/app/portainer/services/axios.ts +++ b/app/portainer/services/axios.ts @@ -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;