Skip to content

Commit acd2d9c

Browse files
committed
fix error file redirect
1 parent 9f56d1a commit acd2d9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def index():
119119
full_path = os.path.abspath(os.path.join(app.config['UPLOAD_DIR'], filename))
120120
# Save the file in the UPLOAD_DIR directory
121121
md = saveFile(file, full_path)
122-
return redirect(url_for('functions', filename=md.UUID))
122+
return redirect(url_for('functions', basename=md.basename, filename=md.UUID))
123123
else:
124124
files, errs = getExistingFiles()
125125
if request.args.get("err"):

0 commit comments

Comments
 (0)