From d532ada3c562b95e10ec8c4f1a9602233fcd89c0 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Thu, 8 Sep 2022 17:13:56 +0000 Subject: [PATCH] No need to precise argument for middleware --- divent/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/divent/bot.py b/divent/bot.py index 9695abd..e1ad5e6 100644 --- a/divent/bot.py +++ b/divent/bot.py @@ -35,7 +35,7 @@ class Discord(Client): client = Discord() app = Quart(__name__) -app.asgi_app = ProxyHeadersMiddleware(app.asgi_app, trusted_hosts="*") # type: ignore +app.asgi_app = ProxyHeadersMiddleware(app.asgi_app, "*") # type: ignore def get_guild_by_id(guild_id: str) -> Optional[Guild]: