mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-05-19 13:55:11 -04:00
format files
This commit is contained in:
@@ -288,6 +288,7 @@ except Exception as e:
|
||||
log.error(f"Error creating test directory: {e}")
|
||||
raise
|
||||
|
||||
|
||||
@app.get("/", response_model={"message": str, "version": str})
|
||||
async def hello_world():
|
||||
"""
|
||||
@@ -295,5 +296,6 @@ async def hello_world():
|
||||
"""
|
||||
return {"message": "Hello World!", "version": os.getenv("PUBLIC_VERSION")}
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run(app, host="127.0.0.1", port=5049, log_config=LOGGING_CONFIG)
|
||||
|
||||
Reference in New Issue
Block a user