Issue: Aphrodite requires OPTIONS preflight requests to also have Bearer Authorization to work. If it does not have a bearer token, the OPTIONS request will fail with a 401 (and thus terminating the linked GET request as well).
This is against spec, the OPTIONS requests sent by browsers do not (and cannot) include Authorization headers.
Rather, the OPTIONS should return the necessary CORS allowed 200 responses regardless of key, then the authorization can be applied for the GET request instead.
Your current environment
Kobold Lite in Web Browser
🐛 Describe the bug
Issue: Aphrodite requires OPTIONS preflight requests to also have Bearer Authorization to work. If it does not have a bearer token, the OPTIONS request will fail with a 401 (and thus terminating the linked GET request as well).
This is against spec, the OPTIONS requests sent by browsers do not (and cannot) include Authorization headers.
https://stackoverflow.com/questions/59681742/options-request-gets-a-401-unauthorized-response
Rather, the OPTIONS should return the necessary CORS allowed 200 responses regardless of key, then the authorization can be applied for the GET request instead.