Skip to content

Commit

Permalink
Bugfix: missing parameter for core/always
Browse files Browse the repository at this point in the history
  • Loading branch information
marblestation committed Sep 3, 2019
1 parent 6a723ef commit a9ca0a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adscore/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ def export(identifier):
return render_template('abstract-export.html', environment=ENVIRONMENT, base_url=SERVER_BASE_URL, auth=session['auth'], data=data, doc=doc, error=results.get('error'), form=form)

@app.route(SERVER_BASE_URL+'core/always', methods=['GET'])
def core_always():
@app.route(SERVER_BASE_URL+'core/always/<path:url>', methods=['GET'])
def core_always(url=None):
target_url = _build_target_url(request, url)
r = redirect(target_url)
r.set_cookie('core', 'always')
Expand Down

0 comments on commit a9ca0a8

Please sign in to comment.