Update application title and headers; specify versions for bcrypt and passlib in requirements
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
@@ -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"),
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user