Skip to content

Commit

Permalink
Fix broken URLs when refreshing authenticated application
Browse files Browse the repository at this point in the history
Possible to share "https://example.com/signup"
  • Loading branch information
J535D165 committed Nov 27, 2023
1 parent 3693d2a commit 19bc6b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions asreview/webapp/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,16 @@ def error_500(e):
return jsonify(message=str(e.original_exception)), 500

@app.route("/", methods=["GET"])
@app.route("/signin", methods=["GET"])
@app.route("/signup", methods=["GET"])
@app.route("/confirm_account", methods=["GET"])
@app.route("/oauth_callback", methods=["GET"])
@app.route("/get_profile", methods=["GET"])
@app.route("/update_profile", methods=["GET"])
@app.route("/projects/", methods=["GET"])
@app.route("/projects/<project_id>/", methods=["GET"])
@app.route("/projects/<project_id>/<tab>/", methods=["GET"])
@app.route("/forgot_password", methods=["GET"])
@app.route("/reset_password", methods=["GET"])
def index():
return render_template("index.html")
Expand Down

0 comments on commit 19bc6b4

Please sign in to comment.