diff --git a/src/unicms_unical_storage_handler/handlers.py b/src/unicms_unical_storage_handler/handlers.py index f111502b..3a12fdc4 100644 --- a/src/unicms_unical_storage_handler/handlers.py +++ b/src/unicms_unical_storage_handler/handlers.py @@ -142,7 +142,7 @@ def as_view(self): @property def get_base_url(self): - url = f'{self.webpath.get_full_path()}/{CMS_STORAGE_BASE_PATH}/' + url = f'/{CMS_STORAGE_BASE_PATH}/' return sanitize_path(url) @property @@ -291,7 +291,7 @@ def as_view(self): @property def parent_url(self): - url = f'{self.webpath.get_full_path()}/{CMS_STORAGE_BASE_PATH}/{CMS_STORAGE_TEACHER_VIEW_PREFIX_PATH}/' + url = f'/{CMS_STORAGE_BASE_PATH}/{CMS_STORAGE_TEACHER_VIEW_PREFIX_PATH}/' return sanitize_path(url) @property