Remove the FastAPI /hello test route

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Frédéric Mangano-Tarumi 2020-06-04 21:59:34 +02:00 committed by Lukas Fleischer
parent 8c868e088c
commit 0e3bd8b596
2 changed files with 0 additions and 8 deletions

View file

@ -1,8 +1,3 @@
from fastapi import FastAPI
app = FastAPI()
@app.get("/hello/")
async def hello():
return {"message": "Hello from FastAPI!"}

View file

@ -61,9 +61,6 @@ def generate_nginx_config():
location / {{
proxy_pass http://{aurweb.config.get("php", "bind_address")};
}}
location /hello {{
proxy_pass http://{aurweb.config.get("fastapi", "bind_address")};
}}
}}
}}
""")