feat: Add redirects for docs and plugin
All checks were successful
Build Docker / BuildImage (push) Successful in 40s

This commit is contained in:
Nathan Woodburn 2025-01-30 18:20:31 +11:00
parent 8e4b7ab38f
commit d5b2f4f975
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -211,6 +211,14 @@ def delete():
#endregion #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("/<path:path>") @app.route("/<path:path>")
def catch_all(path: str): def catch_all(path: str):
if os.path.isfile("templates/" + path): if os.path.isfile("templates/" + path):