Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve CORS and streaming response headers #785

Merged
merged 7 commits into from
Feb 16, 2025

Conversation

danielaskdd
Copy link
Contributor

refactor: improve CORS and streaming response headers

  • Add configurable CORS origins from environment variable
  • Remove duplicate CORS headers
  • Add X-Accel-Buffering header
  • Update env example file

• Convert relative paths to absolute paths
• Add logging for file scanning progress
• Log total number of new files found
• Enhance file scanning feedback
• Improve path resolution safety
- Add configurable CORS origins
- Remove duplicate CORS headers
- Add X-Accel-Buffering header
- Update env example file
- Clean up header configurations
• Add CORS origins display
• Move API key status higher in display
• Fix tree symbols for better readability
• Regroup related server info
• Remove redundant line breaks
@LarFii LarFii merged commit 2a0c7c0 into HKUDS:main Feb 16, 2025
1 check passed
@danielaskdd danielaskdd deleted the improve-CORS-handling branch February 16, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants