source/main.py aktualisiert
This commit is contained in:
@@ -48,11 +48,10 @@ for f in [NOTES_FILE, TODO_FILE]:
|
||||
f.write_text(f"# {f.name}\nHier fängt dein Gedächtnis an, J.A.R.V.I.S.\n", encoding="utf-8")
|
||||
|
||||
# FastAPI Pfade (relativ zu main.py in source/)
|
||||
templates = Jinja2Templates(directory=BASE_DIR / "templates")
|
||||
app.mount("/static", StaticFiles(directory=BASE_DIR / "static"), name="static")
|
||||
|
||||
app = FastAPI()
|
||||
#static_path = os.path.join(os.path.dirname(__file__), "static")
|
||||
templates = Jinja2Templates(directory=BASE_DIR / "templates")
|
||||
app.mount("/static", StaticFiles(directory=BASE_DIR / "static"), name="static")
|
||||
|
||||
SSH_KEY = os.path.expanduser("~/.ssh/id_rsa")
|
||||
chat_history = []
|
||||
|
||||
Reference in New Issue
Block a user