whisper.cpp
80e8a2ea - server : allow CORS request with authorization headers (#1850)

Commit
2 years ago
server : allow CORS request with authorization headers (#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.
Author
Parents
Loading