mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-08-03 23:42:41 +02:00
5b8b2eda10
Add ProxyHeadersMiddleware to trust X-Forwarded-Proto headers from reverse proxies. This ensures url_for() generates HTTPS URLs when the app is accessed via HTTPS through nginx or similar proxies. Without this, static assets (CSS, JS) were blocked by browsers as mixed content when the site was served over HTTPS.