Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server : allow CORS request with authorization headers (ggerganov#1850)
Whisper plugin in Obsidian requires an API key which is then sent as an authorization header. However, the presence of an authorization header requires a CORS Preflight, so both the OPTIONS method and the Access-Control-Allow-Headers: authorization must be handled.
- Loading branch information