SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
563 stars 133 forks source link

Change API authorization to work more consistently. #83

Closed viktorpetkov000 closed 1 year ago

viktorpetkov000 commented 1 year ago

As per issue #79. Replaced getattr(request.authorization, 'token', '') which produced an empty token, with request.headers.get('Authorization').