fixxed template path

This commit is contained in:
2026-02-16 15:13:12 +01:00
parent 6d37dbbfac
commit 4505f8d8e5
+4 -2
View File
@@ -1,4 +1,4 @@
# app/__init__.py
# app/__init__.py (App-Factory)
import logging
import threading
@@ -16,7 +16,9 @@ from .bluetooth.manager import init_bluetooth
logger = logging.getLogger(__name__) # ← Logger für diese Datei
def create_app():
app = Flask(__name__)
app = Flask(__name__,
template_folder='../templates', # ← Root/templates statt app/templates
static_folder='../static') # ← Root/static
# Config laden
app.config.from_object('config.Config')