test
This commit is contained in:
parent
2b593bd347
commit
a2e74edaa8
1 changed files with 3 additions and 2 deletions
5
main.py
5
main.py
|
@ -1,5 +1,6 @@
|
||||||
|
from fileinput import filename
|
||||||
import queue, sqlite3, time, atexit, sys, uuid, json, urllib.parse, logging, datetime, os
|
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_socketio import SocketIO, join_room, leave_room
|
||||||
from flask_session import Session
|
from flask_session import Session
|
||||||
from markupsafe import escape
|
from markupsafe import escape
|
||||||
|
@ -38,7 +39,7 @@ def exit_handler():
|
||||||
#website
|
#website
|
||||||
@app.route('/favicon.ico')
|
@app.route('/favicon.ico')
|
||||||
def favicon():
|
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("/")
|
@app.route("/")
|
||||||
def index():
|
def index():
|
||||||
|
|
Loading…
Reference in a new issue