removed things
This commit is contained in:
parent
adf6ad863c
commit
8222502610
16
main
16
main
|
@ -236,22 +236,6 @@ def chatsend(roomid):
|
||||||
return "success", 200
|
return "success", 200
|
||||||
|
|
||||||
|
|
||||||
@sock.route("/api/chat/listen")
|
|
||||||
def chatlisten(ws):
|
|
||||||
global burgerMessageCache
|
|
||||||
global burgerMessageUpdate
|
|
||||||
|
|
||||||
while burgerMessageUpdate == True:
|
|
||||||
ws.send(burgerMessageCache)
|
|
||||||
burgerMessageUpdate = False
|
|
||||||
|
|
||||||
@app.route("/erm", methods=("GET", "POST"))
|
|
||||||
def erm():
|
|
||||||
print(burgerMessageCache)
|
|
||||||
print(burgerMessageUpdate)
|
|
||||||
|
|
||||||
return "fart"
|
|
||||||
|
|
||||||
@app.route("/@<pageusername>", methods=("GET", "POST"))
|
@app.route("/@<pageusername>", methods=("GET", "POST"))
|
||||||
def user(pageusername):
|
def user(pageusername):
|
||||||
usersession = request.cookies.get("session_DO_NOT_SHARE")
|
usersession = request.cookies.get("session_DO_NOT_SHARE")
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<input name="username" type="text" placeholder="Username" required>
|
<input name="username" type="text" placeholder="Username" required>
|
||||||
<br><br>
|
<br><br>
|
||||||
<input name="password" type="password" placeholder="Password" required>
|
<input name="password" type="password" placeholder="Password" pattern=".{8,}" required title="12 characters minimum">
|
||||||
<br><br>
|
<br><br>
|
||||||
<button type="submit">Sign up</button>
|
<button type="submit">Sign up</button>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
Reference in New Issue