Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CORS #24

Closed
simonw opened this issue May 7, 2020 · 0 comments
Closed

Enable CORS #24

simonw opened this issue May 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented May 7, 2020

Published databases don't currently serve the CORS header.

$ curl -i https://til.simonwillison.net/til.json 
HTTP/1.1 200 OK
Date: Thu, 07 May 2020 02:55:04 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
cache-control: max-age=5
content-length: 1916
referrer-policy: no-referrer
x-vercel-cache: MISS
x-now-cache: MISS
age: 0
x-now-trace: sfo1
server: now
x-vercel-id: sfo1::sfo1::2w6kc-1588820104704-8241d260af04
x-now-id: sfo1::sfo1::2w6kc-1588820104704-8241d260af04
strict-transport-security: max-age=63072000
@simonw simonw added the enhancement New feature or request label May 7, 2020
@simonw simonw closed this as completed in ff85913 May 7, 2020
simonw added a commit that referenced this issue May 7, 2020
simonw added a commit to simonw/til that referenced this issue May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant