From 4505f8d8e5c5c9c447989e6b58750ddf7fcf6174 Mon Sep 17 00:00:00 2001 From: oberon Date: Mon, 16 Feb 2026 15:13:12 +0100 Subject: [PATCH] fixxed template path --- app/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index 7f103d8..b140f9d 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -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')