Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit be9d371

Browse files
authored
Update routes.py
1 parent b8a29ad commit be9d371

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hints/routes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
from markupsafe import escape
66

77
from flags import stages # import everything from flags.py
8+
from hints import create_app
89

910
bp = Blueprint("ctf", __name__)
1011

1112
current_stage = 1
1213
hint_index = 0
14+
app = create_app()
1315

1416

1517
@bp.route("/flags", methods=["GET", "POST"])
@@ -177,3 +179,7 @@ def inject_today_date():
177179
used for the footer to display the current year
178180
"""
179181
return {"year": datetime.date.today().year}
182+
183+
if __name__ == "__main__":
184+
print("running from routes.py")
185+
app.run(debug=False, host="0.0.0.0", port=80)

0 commit comments

Comments
 (0)