added support for manual sleep logging
This commit is contained in:
@@ -119,6 +119,12 @@ def serve_sleep() -> FileResponse:
|
||||
return FileResponse(static_path / "sleep.html")
|
||||
|
||||
|
||||
@app.get("/log-sleep.html", include_in_schema=False)
|
||||
def serve_log_sleep() -> FileResponse:
|
||||
"""Serve the log sleep page."""
|
||||
return FileResponse(static_path / "log-sleep.html")
|
||||
|
||||
|
||||
@app.get("/settings.html", include_in_schema=False)
|
||||
def serve_settings() -> FileResponse:
|
||||
"""Serve the settings page."""
|
||||
|
||||
Reference in New Issue
Block a user