From 4a109f29f9da99ffc08f9389fa19d43a1055a826 Mon Sep 17 00:00:00 2001 From: Tracker-Friendly Date: Tue, 12 Mar 2024 17:26:34 +0000 Subject: [PATCH] Bump version, updated homeserver support --- main | 10 +++++++++- templates/login.html | 1 + templates/signup.html | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/main b/main index e01902e..8aa6d8f 100644 --- a/main +++ b/main @@ -115,6 +115,14 @@ async def mainrdir(): async def main(): return await render_template("main.html") +# Homeserver changer +@app.route("/homeserver/index.html") +async def mainrdir(): + return redirect("/", code=302) +@app.route("/homeserver") +async def main(): + return await render_template("homeserver.html") + # Web app @app.route("/app/index.html") async def apprdir(): @@ -149,7 +157,7 @@ async def privacy(): # API @app.route("/api/version", methods=("GET", "POST")) async def apiversion(): - return "Burgernotes Version 1.1" + return "Burgernotes Version 1.2" @app.route("/api/signup", methods=("GET", "POST")) async def apisignup(): diff --git a/templates/login.html b/templates/login.html index 44786f1..284e97f 100644 --- a/templates/login.html +++ b/templates/login.html @@ -33,6 +33,7 @@

Don't have an account? If so, Create one here!

+

Your homeserver is: https://hectabit.org.

Change
Privacy & Terms diff --git a/templates/signup.html b/templates/signup.html index bdaa9cc..fd91996 100644 --- a/templates/signup.html +++ b/templates/signup.html @@ -31,7 +31,7 @@

Already have an account? If so, Login instead!

Please note that it's impossible to reset your password, do not forget it!

-
+

Your homeserver is: https://hectabit.org.

Change
Privacy & Terms