1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Remove unused page

This commit is contained in:
Steffo 2019-02-26 19:51:59 +01:00
parent ee4ee17ad0
commit 7aeb004830

View file

@ -381,17 +381,6 @@ def page_activity():
hourly_before=hourly_before) 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"]) @app.route("/hooks/github", methods=["POST"])
def hooks_github(): def hooks_github():
try: try: