From 7aeb004830392d129add4d46a54fccd5a29d3455 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 26 Feb 2019 19:51:59 +0100 Subject: [PATCH] Remove unused page --- webserver.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/webserver.py b/webserver.py index f3543fc2..eefffd8c 100644 --- a/webserver.py +++ b/webserver.py @@ -381,17 +381,6 @@ def page_activity(): hourly_before=hourly_before) -@app.route("/ses/identify") -def ses_identify(): - response = jsonify({ - "username": fl_session.get("username"), - "id": fl_session.get("user_id") - }) - response.headers["Access-Control-Allow-Origin"] = "https://steffo.eu" - response.headers["Access-Control-Allow-Credentials"] = "true" - return response - - @app.route("/hooks/github", methods=["POST"]) def hooks_github(): try: