mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS - refs #1922
This commit is contained in:
parent
4c18730e71
commit
6bfd71f5c6
3 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ served with the following additional HTTP headers::
|
|||
Access-Control-Allow-Origin: *
|
||||
Access-Control-Allow-Headers: Authorization
|
||||
Access-Control-Expose-Headers: Link
|
||||
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS
|
||||
|
||||
This means JavaScript running on any domain will be able to make cross-origin
|
||||
requests to fetch the data.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue