Fix redirect after saving new link.
This commit is contained in:
parent
1317f81679
commit
781b8a7c8d
|
@ -296,7 +296,7 @@ def build_links():
|
|||
|
||||
if request.method == 'POST':
|
||||
save_new_xanalink(doc1, doc2)
|
||||
return redirect(request.full_path)
|
||||
return redirect(url_for(request.endpoint, doc1=hashid1, doc2=hashid2))
|
||||
|
||||
return render_template('build_links.html',
|
||||
iter_lines=iter_lines,
|
||||
|
|
Loading…
Reference in a new issue