Access-Control-Allow-Headers: Authorization, Content-Type - refs #1922

This commit is contained in:
Simon Willison 2022-11-30 15:11:16 -08:00
commit f0fadc28dd
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ If you started Datasette with the ``--cors`` option, each JSON endpoint will be
served with the following additional HTTP headers::
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Authorization
Access-Control-Allow-Headers: Authorization, Content-Type
Access-Control-Expose-Headers: Link
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS