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.
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.