Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ def get_redis_client():


if not os.path.exists("static"):
@app.get("/")
@app.get("/", response_class=fastapi.responses.HTMLResponse)
async def root():
"""Root endpoint."""
return "API service is running. Navigate to /weatherforecast to see sample data."
return "API service is running. Navigate to <a href='/api/weatherforecast'>/api/weatherforecast</a> to see sample data."

@app.get("/api/weatherforecast")
//#if UseRedisCache
Expand Down
Loading