home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1332493004

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/1922#issuecomment-1332493004 https://api.github.com/repos/simonw/datasette/issues/1922 1332493004 IC_kwDOBm6k_c5PbDrM 9599 2022-11-30T17:18:10Z 2022-11-30T17:18:10Z OWNER

Here's why:

https://github.com/simonw/datasette/blob/4ddd77e51254bda3bac990ea662bac2e6b29c5e0/datasette/views/base.py#L71-L79

That's code in BaseView - but it turns out the code that adds CORS headers is in the DataView subclass of that (which the various write API endpoints do not use).

https://github.com/simonw/datasette/blob/4ddd77e51254bda3bac990ea662bac2e6b29c5e0/datasette/views/base.py#L158-L162

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1469973742  
Powered by Datasette · Queries took 1.085ms · About: github-to-sqlite