Refactoring and cleanup codebase (starting...)

This commit is contained in:
2025-02-23 14:47:13 +05:00
parent 8a8cf8af30
commit 20465600b1
3 changed files with 3 additions and 3 deletions
-1
View File
@@ -1,4 +1,3 @@
from email.policy import default
from jinja2 import TemplateNotFound
from flask import Blueprint, render_template, jsonify, abort
+2 -2
View File
@@ -1,4 +1,4 @@
from flask import Blueprint, render_template, jsonify
from flask import Blueprint, jsonify
webui = Blueprint('webui', __name__, url_prefix='/telezab')
@@ -9,5 +9,5 @@ def heartbeat():
@webui.route('/', defaults={'path': ''})
@webui.route('/<path:path>')
def catch_all(path):
def catch_all():
return webui.send_static_file("index.html")