Skip to content

Commit

Permalink
Updated routes
Browse files Browse the repository at this point in the history
  • Loading branch information
ezhil56x committed Apr 3, 2024
1 parent 26291e7 commit aa25e83
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,30 +125,5 @@ def leaderboard():
return render_template("leaderboard.html", all_acts=all_acts, enumerate=enumerate)


@app.route("/hall_of_cyscom")
def hall_of_cyscom():
# static/data/test_data.json
filename = join(app.static_folder, "data", "test.json")
# print(filename)

with open(filename) as test_file:
data = json.load(test_file)

return render_template("hall_of_cyscom.html", data=data)


jsonfile = open("hoomans.json", "r")
jsondata = jsonfile.read()

# Parse JSON
obj = json.loads(jsondata)
members = obj["members"]


@app.route("/legacy")
def home():
return render_template("legacy.html", context=members)


if __name__ == "__main__":
app.run(port=5000, debug=True)

0 comments on commit aa25e83

Please sign in to comment.