Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marcus Andersson
aurweb
Commits
0e3bd8b5
Commit
0e3bd8b5
authored
Jun 04, 2020
by
Frédéric Mangano-Tarumi
Committed by
Lukas Fleischer
Feb 20, 2021
Browse files
Remove the FastAPI /hello test route
Signed-off-by:
Lukas Fleischer
<
lfleischer@archlinux.org
>
parent
8c868e08
Changes
2
Hide whitespace changes
Inline
Side-by-side
aurweb/asgi.py
View file @
0e3bd8b5
from
fastapi
import
FastAPI
app
=
FastAPI
()
@
app
.
get
(
"/hello/"
)
async
def
hello
():
return
{
"message"
:
"Hello from FastAPI!"
}
aurweb/spawn.py
View file @
0e3bd8b5
...
...
@@ -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"
)
}
;
}}
}}
}}
"""
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment