Was Commite ich hier?
This commit is contained in:
commit
f4181ade07
5 changed files with 6067 additions and 3 deletions
|
@ -42,9 +42,18 @@ def create_app(test_config=None):
|
|||
|
||||
#website
|
||||
@app.route('/favicon.ico')
|
||||
@app.route('/ccc_logo.png')
|
||||
def favicon():
|
||||
return send_file("../static/Logo_CCC.svg.png")
|
||||
|
||||
@app.route('/socket.io.js')
|
||||
def socketiojs():
|
||||
return send_file('../static/socket.io.js')
|
||||
|
||||
@app.route('/new.css')
|
||||
def newcss():
|
||||
return send_file('../static/new.min.css')
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return render_template("index.html")
|
||||
|
|
|
@ -2,11 +2,13 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"
|
||||
<script src="/socket.io.js"
|
||||
integrity="sha512-q/dWJ3kcmjBLU4Qc47E4A9kTB4m3wuTY7vkFJDTZKjTs8jhyGQnaUrxa0Ytd0ssMZhbNua9hE+E7Qv1j+DyZwA=="
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<link rel="shortcut icon" type="Logo/png" href="ccc_logo.png"/>
|
||||
<link rel="stylesheet" href="/new.css">
|
||||
|
||||
<link rel="shortcut icon" type="Logo/png" href="/ccc_logo.png"/>
|
||||
{% block customscript %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue