datasette
datasette copied to clipboard
How to avoid downloading the CSV file?
I set allow_download off
both in setting.json
amd in metadata.json
or metadata.yml
as follows:
setting.json
{
"default_facet_size": 30,
"default_page_size": 200,
"facet_suggest_time_limit_ms": 50,
"facet_time_limit_ms": 1000,
"max_returned_rows": 1000,
"sql_time_limit_ms": 1000,
"truncate_cells_html": 0,
"allow_download": 0
}
metadata.json
{
"title": "Some text",
"description": "Description",
"license": "ODbL",
"license_url": "https://opendatacommons.org/licenses/odbl/",
"source": "Source",
"source_url": "https://sourceurl",
"allow_sql": false,
"allow_download": false
}
The settings allow_sql
works.
I aim to avoid downloading both the SQL and CSV files.