Test trust all hosts on uvicorn middleware
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
18da7f0712
commit
61f9eba7ef
@ -8,7 +8,7 @@ steps:
|
||||
commands:
|
||||
- pip install poetry
|
||||
- poetry install
|
||||
- poetry run flake8
|
||||
- poetry run flake8 .
|
||||
- poetry run mypy .
|
||||
- poetry run djlint .
|
||||
|
||||
|
@ -35,7 +35,7 @@ class Discord(Client):
|
||||
|
||||
client = Discord()
|
||||
app = Quart(__name__)
|
||||
app.asgi_app = ProxyHeadersMiddleware(app.asgi_app) # type: ignore
|
||||
app.asgi_app = ProxyHeadersMiddleware(app.asgi_app, trusted_hosts="*") # type: ignore
|
||||
|
||||
|
||||
def get_guild_by_id(guild_id: str) -> Optional[Guild]:
|
||||
|
Loading…
Reference in New Issue
Block a user