Fix production deployment issues

This commit is contained in:
2026-03-28 13:57:57 +03:00
Unverified
parent 30ab4d9190
commit 3caadde6ff
14 changed files with 170 additions and 105 deletions
-9
View File
@@ -319,15 +319,6 @@ async def health_check():
return {"status": "healthy", "service": "main"}
@app.get("/key/public")
async def key_public_proxy():
"""
Proxy endpoint for messaging public key. In dev this calls the in-process function,
in production it will proxy to the external messaging service via the keys helper.
"""
return await keys.get_public_key()
if __name__ == "__main__":
import uvicorn
port = int(os.getenv("PORT", "8300"))