We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b52b6 commit 9ae4738Copy full SHA for 9ae4738
1 file changed
app/extensions/file/local_uploader.py
@@ -20,7 +20,8 @@ def upload(self):
20
ret.append({
21
"key": single.name,
22
"id": exists.id,
23
- "url": site_domain + '/assets/' + exists.path
+ "url": site_domain + '/assets/' + exists.path,
24
+ "path": exists.path
25
})
26
else:
27
absolute_path, relative_path, real_name = self._get_store_path(single.filename)
@@ -37,6 +38,7 @@ def upload(self):
37
38
39
40
"id": file.id,
- "url": site_domain + '/assets/' + file.path
41
+ "url": site_domain + '/assets/' + file.path,
42
+ "path": file.path
43
44
return ret
0 commit comments