From d5b2f4f9754c650e438693e8503992f3473bfd3c Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 30 Jan 2025 18:20:31 +1100 Subject: [PATCH] feat: Add redirects for docs and plugin --- server.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server.py b/server.py index ea6de75..2c1b5bd 100644 --- a/server.py +++ b/server.py @@ -211,6 +211,14 @@ def delete(): #endregion +@app.route("/plugin") +def plugin(): + return redirect('https://git.woodburn.au/nathanwoodburn/firesales-plugin') + +@app.route("/docs") +def docs(): + return redirect('https://git.woodburn.au/nathanwoodburn/FireSales/wiki/Home') + @app.route("/") def catch_all(path: str): if os.path.isfile("templates/" + path):