diff --git a/utils/utils.py b/utils/utils.py index 0218233..cc0974e 100644 --- a/utils/utils.py +++ b/utils/utils.py @@ -113,7 +113,7 @@ def get_object(file_path, result={}): if extension == "obj": result['type']="obj" object_path = str(file_path).replace(OBJECT_DIR, "") - result['urls'].append(f"/objects{object_path}") + result['urls'].append(f"/objects/{object_path}") mtl_file = find_file_with_extension(file_dir, 'mtl') if mtl_file: result = get_object(mtl_file.replace(OBJECT_DIR, ""), result) diff --git a/views/_nav.tpl b/views/_nav.tpl index 1c6153f..d6e0a3e 100644 --- a/views/_nav.tpl +++ b/views/_nav.tpl @@ -1,6 +1,6 @@

- objects/{{current_dir}} + /{{current_dir}}