Spaces:
Sleeping
Sleeping
Commit History
-
fix: Enable trust proxy for express-rate-limit in proxied environments
Unknown-Geek +1: Copilot- Added app.set('trust proxy', true) to fix X-Forwarded-For header validation - Resolves ERR_ERL_UNEXPECTED_X_FORWARDED_FOR error on HuggingFace Spaces - Allows rate limiter to correctly identify users behind proxies This fixes the ValidationError that occurs when the server is deployed behind a proxy (like HuggingFace Spaces) and receives X-Forwarded-For headers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>f4a4c49
-
refactor: restore src/ for extension, server/ for backend — clean root
Shravan Pandala113fc23