Fix 404 on GituHub log in
This commit is contained in:
parent
a15f1ac223
commit
74f3a77a84
@ -33,7 +33,7 @@ from wtforms import SelectField, SubmitField
|
||||
|
||||
@bp.route("/github/start/")
|
||||
def start():
|
||||
return github.authorize("", redirect_uri=url_for("github.callback"))
|
||||
return github.authorize("", redirect_uri=abs_url_for("github.callback"))
|
||||
|
||||
@bp.route("/github/callback/")
|
||||
@github.authorized_handler
|
||||
|
Loading…
x
Reference in New Issue
Block a user