mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-02 13:40:35 +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
|
|
@ -29,8 +29,8 @@ class Message(ApiHandler):
|
|||
attachments = request.files.getlist("attachments")
|
||||
attachment_paths = []
|
||||
|
||||
upload_folder_int = "/a0/tmp/uploads"
|
||||
upload_folder_ext = files.get_abs_path("tmp/uploads") # for development environment
|
||||
upload_folder_int = "/a0/usr/uploads"
|
||||
upload_folder_ext = files.get_abs_path("usr/uploads") # for development environment
|
||||
|
||||
if attachments:
|
||||
os.makedirs(upload_folder_ext, exist_ok=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue