mirror of
https://github.com/simon987/toolbox.git
synced 2025-12-13 23:39:05 +00:00
update redis hostname
This commit is contained in:
@@ -14,7 +14,7 @@ from fastapi.params import Form
|
||||
from starlette.responses import Response
|
||||
|
||||
app = FastAPI()
|
||||
rdb = redis.Redis()
|
||||
rdb = redis.Redis(host="redis")
|
||||
|
||||
|
||||
@app.get("/")
|
||||
|
||||
Reference in New Issue
Block a user