diff --git a/frontend/components/configAutoLabeling/form/FileField.vue b/frontend/components/configAutoLabeling/form/FileField.vue index bb348504..ae71d752 100644 --- a/frontend/components/configAutoLabeling/form/FileField.vue +++ b/frontend/components/configAutoLabeling/form/FileField.vue @@ -35,7 +35,7 @@ export default { return { myFiles: [], server: { - url: '/v1/fp', + url: `${process.env.baseUrl}/fp`, headers: { 'X-CSRFToken': Cookies.get('csrftoken') }, diff --git a/frontend/pages/projects/_id/dataset/import.vue b/frontend/pages/projects/_id/dataset/import.vue index 3aede52a..2ed86d00 100644 --- a/frontend/pages/projects/_id/dataset/import.vue +++ b/frontend/pages/projects/_id/dataset/import.vue @@ -119,7 +119,7 @@ export default { ], requiredRules: [(v) => !!v || 'Field value is required'], server: { - url: '/v1/fp', + url: `${process.env.baseUrl}/fp`, headers: { 'X-CSRFToken': Cookies.get('csrftoken') },