update chat log method

This commit is contained in:
hyperbel 2023-05-19 20:03:00 +02:00
parent 555b1bef1b
commit fbb226b0aa
2 changed files with 1 additions and 2 deletions

View File

@ -391,7 +391,7 @@ def server():
# Hier werden die Chat Nachrichten Verschickt
@app.route("/get")
def get():
chat_log("called /get with GET", "INFO")
insert_log("chat", ")called /get with GET", "INFO")
conn = sqlite3.connect("party.db")
c = conn.cursor()
c.execute("SELECT username, message, timestamp FROM messages")

View File

@ -8,7 +8,6 @@ app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
@app.route('/')
def index():
return send_from_directory('.', 'index.html')
@app.route('/upload', methods=['POST'])