fixxed template path
This commit is contained in:
parent
6d37dbbfac
commit
4505f8d8e5
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user