From f17a14ac397b84ced5819ffecc0b2529869d69e6 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Sat, 24 Jun 2023 00:05:02 +0200 Subject: [PATCH] Test selfhostet socket.io.js file --- main.py | 8 +- socket.io.js | 6046 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 6052 insertions(+), 2 deletions(-) create mode 100644 socket.io.js diff --git a/main.py b/main.py index afd724e..37fc170 100644 --- a/main.py +++ b/main.py @@ -39,7 +39,11 @@ def exit_handler(): #website @app.route('/favicon.ico') 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("/") def index(): @@ -47,7 +51,7 @@ def index(): user and tag list

The creator of this website accepts no liability for any linguistic or technical errors!



- Doumentationscript src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js" integrity="sha512-q/dWJ3kcmjBLU4Qc47E4A9kTB4m3wuTY7vkFJDTZKjTs8jhyGQnaUrxa0Ytd0ssMZhbNua9hE+E7Qv1j+DyZwA==" crossorigin="anonymous"> + Doumentationscript src="/socket.io.js" integrity="sha512-q/dWJ3kcmjBLU4Qc47E4A9kTB4m3wuTY7vkFJDTZKjTs8jhyGQnaUrxa0Ytd0ssMZhbNua9hE+E7Qv1j+DyZwA==" crossorigin="anonymous">