Removed hello world endpoint

This commit is contained in:
Ivan Golikov 2022-12-17 13:44:28 +01:00
parent 7266dd3cd5
commit 3a0ae4503a

View file

@ -11,11 +11,6 @@ class Secret(BaseModel):
data: str
@app.get("/")
def read_root():
return {"Hello": "World"}
@app.post("/secret")
async def set_secret(data: Secret):
new_key = await get_new_key()