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')