mirror of
https://github.com/Stijnvandenbroek/stamp.git
synced 2026-01-16 15:46:53 +01:00
chore: backend log level info
This commit is contained in:
@@ -76,7 +76,7 @@ def validate_session(session_id: str):
|
|||||||
return session
|
return session
|
||||||
|
|
||||||
# API endpoints
|
# API endpoints
|
||||||
@app.get("/")
|
@app.get("/", include_in_schema=False) # Hide from OpenAPI docs
|
||||||
async def root():
|
async def root():
|
||||||
return {"status": "ok"}
|
return {"status": "ok"}
|
||||||
|
|
||||||
@@ -226,4 +226,4 @@ async def reset_session(session_reset_request: SessionResetRequest):
|
|||||||
# Application startup
|
# Application startup
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print("Starting server on 0.0.0.0:8000...")
|
print("Starting server on 0.0.0.0:8000...")
|
||||||
uvicorn.run(app, host="0.0.0.0", port=8000, log_level="debug")
|
uvicorn.run(app, host="0.0.0.0", port=8000, log_level="info")
|
||||||
|
|||||||
Reference in New Issue
Block a user