Skip to content

Commit

Permalink
chore: also handle /api as /api/status
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Apr 19, 2024
1 parent b8a98c5 commit 48b9100
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lmao/external_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def init() -> tuple[Response, Literal]:
@self.app.route("/index", methods=["POST"])
@self.app.route("/index.html", methods=["POST"])
@self.app.route("/index.php", methods=["POST"])
@self.app.route("/api", methods=["POST"])
@self.app.route("/api/status", methods=["POST"])
def status() -> tuple[Response, Literal]:
"""Retrieves current status of all modules
Expand Down

0 comments on commit 48b9100

Please sign in to comment.