update redis hostname

This commit is contained in:
simon987 2020-08-05 21:51:02 -04:00
parent 46450cbfd3
commit 372adc4c30

View File

@ -14,7 +14,7 @@ from fastapi.params import Form
from starlette.responses import Response from starlette.responses import Response
app = FastAPI() app = FastAPI()
rdb = redis.Redis() rdb = redis.Redis(host="redis")
@app.get("/") @app.get("/")