Update application title and headers; specify versions for bcrypt and passlib in requirements

This commit is contained in:
2026-04-29 13:01:55 +02:00
parent 52e95e3fe0
commit 8871f136d4
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ async def lifespan(app: FastAPI):
app = FastAPI(
title="AI Allucanget Biz API",
title="All You Can GET AI Biz API",
description="Multi-modal AI generation API powered by openrouter.ai",
version="0.1.0",
lifespan=lifespan,
+1 -1
View File
@@ -20,7 +20,7 @@ def _headers() -> dict[str, str]:
"Authorization": f"Bearer {_api_key()}",
"Content-Type": "application/json",
"HTTP-Referer": os.getenv("APP_URL", "https://ai.allucanget.biz"),
"X-Title": os.getenv("APP_NAME", "AI Allucanget"),
"X-Title": os.getenv("APP_NAME", "All You Can GET AI"),
}
+2 -2
View File
@@ -1,5 +1,5 @@
anyio
bcrypt
bcrypt==4.0.1
blinker
certifi
cryptography
@@ -13,7 +13,7 @@ httpx
Jinja2
MarkupSafe
packaging
passlib
passlib==1.7.4
pydantic
python-dotenv
python-jose