mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Do not allow downloads of mutable databases - closes #474
This commit is contained in:
parent
88976d6cd6
commit
f4eefdf193
4 changed files with 35 additions and 25 deletions
|
|
@ -56,7 +56,7 @@
|
|||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if config.allow_download and database != ":memory:" %}
|
||||
{% if allow_download %}
|
||||
<p class="download-sqlite">Download SQLite DB: <a href="{{ database_url(database) }}.db">{{ database }}.db</a> <em>{{ format_bytes(size) }}</em></p>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue