Commit
Enhance sample download and preview handling with anti-indexing and origin validation
Commit details
Commit notes
This commit updates the SampleHandler to include anti-indexing headers and cache control for sample downloads and previews. It also introduces origin validation to restrict access based on allowed origins, improving security. Additionally, the AudioEngine is modified to use the API client for downloading samples, ensuring proper authorization handling.
- Files changed
- 3
- Lines added
- +81
- Lines removed
- −12