mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 19:51:11 +00:00
refactor: migrate user data to usr/ + update frontend paths
This commit is contained in:
parent
4121c04b54
commit
10bc874f05
19 changed files with 170 additions and 45 deletions
|
|
@ -50,7 +50,7 @@ class ApiFilesGet(ApiHandler):
|
|||
if path.startswith("/a0/tmp/uploads/"):
|
||||
# Internal path - convert to external
|
||||
filename = path.replace("/a0/tmp/uploads/", "")
|
||||
external_path = files.get_abs_path("tmp/uploads", filename)
|
||||
external_path = files.get_abs_path("usr/uploads", filename)
|
||||
filename = os.path.basename(external_path)
|
||||
elif path.startswith("/a0/"):
|
||||
# Other internal Agent Zero paths
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue