Test selfhostet socket.io.js file
This commit is contained in:
parent
6a9fbb6a8a
commit
f17a14ac39
2 changed files with 6052 additions and 2 deletions
8
main.py
8
main.py
|
@ -39,7 +39,11 @@ def exit_handler():
|
||||||
#website
|
#website
|
||||||
@app.route('/favicon.ico')
|
@app.route('/favicon.ico')
|
||||||
def favicon():
|
def favicon():
|
||||||
return url_for('static', filename='image/Logo_CCC.svg.png')
|
return url_for('static', filename='Logo_CCC.svg.png')
|
||||||
|
|
||||||
|
@app.route('/socket.io.js')
|
||||||
|
def socketiojs():
|
||||||
|
return url_for('static', filename='socket.io.js')
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index():
|
def index():
|
||||||
|
@ -47,7 +51,7 @@ def index():
|
||||||
<a href="/list">user and tag list</a>
|
<a href="/list">user and tag list</a>
|
||||||
<p>The creator of this website accepts no liability for any linguistic or technical errors!</p>
|
<p>The creator of this website accepts no liability for any linguistic or technical errors!</p>
|
||||||
<br style="line-height: 500%;"></br>
|
<br style="line-height: 500%;"></br>
|
||||||
<a href="/documentation">Doumentation</a>script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js" integrity="sha512-q/dWJ3kcmjBLU4Qc47E4A9kTB4m3wuTY7vkFJDTZKjTs8jhyGQnaUrxa0Ytd0ssMZhbNua9hE+E7Qv1j+DyZwA==" crossorigin="anonymous">
|
<a href="/documentation">Doumentation</a>script src="/socket.io.js" integrity="sha512-q/dWJ3kcmjBLU4Qc47E4A9kTB4m3wuTY7vkFJDTZKjTs8jhyGQnaUrxa0Ytd0ssMZhbNua9hE+E7Qv1j+DyZwA==" crossorigin="anonymous">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
window.location="http://matekasse.server.c3h/list"
|
window.location="http://matekasse.server.c3h/list"
|
||||||
|
|
6046
socket.io.js
Normal file
6046
socket.io.js
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue