fazeel007 commited on
Commit
dd22d79
·
1 Parent(s): 0e0c0a2

Implement proper rate limiting for HF Spaces proxy environment

Browse files

Instead of disabling rate limiting, configure it properly for
Hugging Face Spaces:
- Higher limits due to shared proxy infrastructure
- Custom key generator using multiple headers
- Skip validation to avoid proxy configuration errors
- Maintain security while working with HF infrastructure

1 file changed +25 -3
server/index.ts+25-3