Bump version, updated homeserver support
This commit is contained in:
parent
327af38641
commit
4a109f29f9
10
main
10
main
|
@ -115,6 +115,14 @@ async def mainrdir():
|
||||||
async def main():
|
async def main():
|
||||||
return await render_template("main.html")
|
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
|
# Web app
|
||||||
@app.route("/app/index.html")
|
@app.route("/app/index.html")
|
||||||
async def apprdir():
|
async def apprdir():
|
||||||
|
@ -149,7 +157,7 @@ async def privacy():
|
||||||
# API
|
# API
|
||||||
@app.route("/api/version", methods=("GET", "POST"))
|
@app.route("/api/version", methods=("GET", "POST"))
|
||||||
async def apiversion():
|
async def apiversion():
|
||||||
return "Burgernotes Version 1.1"
|
return "Burgernotes Version 1.2"
|
||||||
|
|
||||||
@app.route("/api/signup", methods=("GET", "POST"))
|
@app.route("/api/signup", methods=("GET", "POST"))
|
||||||
async def apisignup():
|
async def apisignup():
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<p>Don't have an account? If so, <a href="../signup/index.html">Create one here!</a></p>
|
<p>Don't have an account? If so, <a href="../signup/index.html">Create one here!</a></p>
|
||||||
|
<div style="display: flex;"><p id="homeserver">Your homeserver is: https://hectabit.org. </p><div style="display: flex;flex-direction: column;justify-content: center;"><a href="/">Change</a></div></div>
|
||||||
<a href="../privacy/index.html">Privacy & Terms</a>
|
<a href="../privacy/index.html">Privacy & Terms</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<button id="signupButton">Signup</button><br><br>
|
<button id="signupButton">Signup</button><br><br>
|
||||||
<p>Already have an account? If so, <a href="../login/index.html">Login</a> instead!</p>
|
<p>Already have an account? If so, <a href="../login/index.html">Login</a> instead!</p>
|
||||||
<p>Please note that it's impossible to reset your password, do not forget it!</p>
|
<p>Please note that it's impossible to reset your password, do not forget it!</p>
|
||||||
<br>
|
<div style="display: flex;"><p id="homeserver">Your homeserver is: https://hectabit.org. </p><div style="display: flex;flex-direction: column;justify-content: center;"><a href="/">Change</a></div></div>
|
||||||
<a href="../privacy/index.html">Privacy & Terms</a>
|
<a href="../privacy/index.html">Privacy & Terms</a>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="../static/js/signup.js"></script>
|
<script type="text/javascript" src="../static/js/signup.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue