Skip to content

Commit

Permalink
Update lti.py - fix duplicate URL
Browse files Browse the repository at this point in the history
  • Loading branch information
HadronCollider authored Sep 23, 2024
1 parent 9dbf79b commit 33d77ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/lti.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
lti = Blueprint('lti', __name__, template_folder='templates', static_folder='static')
logger = get_root_logger('web')

@lti.route('/lti', methods=['POST'])
@lti.route('/', methods=['POST'])
def lti_main():
if check_request(request):
temporary_user_params = request.form
Expand Down Expand Up @@ -68,4 +68,4 @@ def lti_main():
login_user(lti_user)
return redirect(url_for('upload'))
else:
abort(403)
abort(403)

0 comments on commit 33d77ac

Please sign in to comment.