This commit is contained in:
Timothy J. Baek
2024-09-04 17:47:51 +02:00
parent 175ffc5c66
commit e5cfa6501b
4 changed files with 19 additions and 7 deletions

View File

@@ -9,8 +9,6 @@ import uvicorn
app = typer.Typer()
KEY_FILE = Path.cwd() / ".webui_secret_key"
if (frontend_build_dir := Path(__file__).parent / "frontend").exists():
os.environ["FRONTEND_BUILD_DIR"] = str(frontend_build_dir)
@app.command()