Removed hello world endpoint
This commit is contained in:
parent
7266dd3cd5
commit
3a0ae4503a
1 changed files with 0 additions and 5 deletions
|
@ -11,11 +11,6 @@ class Secret(BaseModel):
|
||||||
data: str
|
data: str
|
||||||
|
|
||||||
|
|
||||||
@app.get("/")
|
|
||||||
def read_root():
|
|
||||||
return {"Hello": "World"}
|
|
||||||
|
|
||||||
|
|
||||||
@app.post("/secret")
|
@app.post("/secret")
|
||||||
async def set_secret(data: Secret):
|
async def set_secret(data: Secret):
|
||||||
new_key = await get_new_key()
|
new_key = await get_new_key()
|
||||||
|
|
Loading…
Reference in a new issue