This is an automated email from the ASF dual-hosted git repository.
arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new 158cc68 #535 - Only proxyfix in non-local
158cc68 is described below
commit 158cc6854ca33253dfcf8d6695ed32550f5176fe
Author: Alastair McFarlane <[email protected]>
AuthorDate: Fri Jan 23 11:26:22 2026 +0000
#535 - Only proxyfix in non-local
---
atr/server.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/atr/server.py b/atr/server.py
index 59749d7..85529b1 100644
--- a/atr/server.py
+++ b/atr/server.py
@@ -130,8 +130,8 @@ def _app_create_base(app_config: type[config.AppConfig]) ->
base.QuartApp:
app.config.from_object(app_config)
app.secret_key = asfquart_secret_key
- # if not util.is_dev_environment():
- app.asgi_app = proxy_fix.ProxyFixMiddleware(app.asgi_app, mode="legacy",
trusted_hops=1)
+ if not util.is_dev_environment():
+ app.asgi_app = proxy_fix.ProxyFixMiddleware(app.asgi_app,
mode="legacy", trusted_hops=1)
return app
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]