forked from Ailur/burgernotes-server
Added version text
This commit is contained in:
parent
2f35c0a70e
commit
df37f8cf33
4
main
4
main
|
@ -119,6 +119,10 @@ def privacy():
|
||||||
return render_template("privacy.html")
|
return render_template("privacy.html")
|
||||||
|
|
||||||
# API
|
# API
|
||||||
|
@app.route("/api/version", methods=("GET", "POST"))
|
||||||
|
def apiuserinfo():
|
||||||
|
return "PageBurger Version 1.1"
|
||||||
|
|
||||||
@app.route("/api/signup", methods=("GET", "POST"))
|
@app.route("/api/signup", methods=("GET", "POST"))
|
||||||
def apisignup():
|
def apisignup():
|
||||||
if request.method == "POST":
|
if request.method == "POST":
|
||||||
|
|
Loading…
Reference in New Issue