Skip to content

Commit d714449

Browse files
authored
Merge pull request #316 from CodeForPhilly/315-redirect
Redirect to origin, not '/'
2 parents a091456 + 675bdec commit d714449

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)