This commit is contained in:
2000-Trek 2023-06-23 20:36:26 +02:00
parent 2b593bd347
commit a2e74edaa8

View file

@ -1,5 +1,6 @@
from fileinput import filename
import queue, sqlite3, time, atexit, sys, uuid, json, urllib.parse, logging, datetime, os
from flask import Flask, render_template, request, make_response, session, send_from_directory
from flask import Flask, render_template, request, make_response, session, url_for
from flask_socketio import SocketIO, join_room, leave_room
from flask_session import Session
from markupsafe import escape
@ -38,7 +39,7 @@ def exit_handler():
#website
@app.route('/favicon.ico')
def favicon():
return send_from_directory(os.path.join(app.root_path, 'static'),'favicon.ico',mimetype='Logo_CCC.svg.png')
return url_for('static', filename='image/Logo_CCC.svg.png')
@app.route("/")
def index():