Refactoring and cleanup codebase (starting...)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from email.policy import default
|
||||
from jinja2 import TemplateNotFound
|
||||
|
||||
from flask import Blueprint, render_template, jsonify, abort
|
||||
|
||||
+2
-2
@@ -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")
|
||||
Reference in New Issue
Block a user