Skip to content

Commit 675bdec

Browse files
committed
Redirect to origin, not '/'
1 parent a091456 commit 675bdec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/api/admin_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def upload_csv():
3737
finally:
3838
file.close()
3939

40-
return redirect("/")
40+
return redirect(request.origin)
4141

4242

4343
@admin_api.route("/api/listCurrentFiles", methods=["GET"])

0 commit comments

Comments
 (0)