mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Remove the FastAPI /hello test route
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
8c868e088c
commit
0e3bd8b596
2 changed files with 0 additions and 8 deletions
|
@ -1,8 +1,3 @@
|
||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
|
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
|
|
||||||
|
|
||||||
@app.get("/hello/")
|
|
||||||
async def hello():
|
|
||||||
return {"message": "Hello from FastAPI!"}
|
|
||||||
|
|
|
@ -61,9 +61,6 @@ def generate_nginx_config():
|
||||||
location / {{
|
location / {{
|
||||||
proxy_pass http://{aurweb.config.get("php", "bind_address")};
|
proxy_pass http://{aurweb.config.get("php", "bind_address")};
|
||||||
}}
|
}}
|
||||||
location /hello {{
|
|
||||||
proxy_pass http://{aurweb.config.get("fastapi", "bind_address")};
|
|
||||||
}}
|
|
||||||
}}
|
}}
|
||||||
}}
|
}}
|
||||||
""")
|
""")
|
||||||
|
|
Loading…
Add table
Reference in a new issue