upgraded data export

This commit is contained in:
Saifeddine ALOUI 2023-04-21 11:53:34 +02:00
parent 33527bd278
commit f0c8c8cb9f

View File

@ -48,7 +48,7 @@ function db_export(){
function downloadUrl(url) { function downloadUrl(url) {
const link = document.createElement('a'); const link = document.createElement('a');
link.href = url; link.href = url;
link.download = 'chat.txt'; link.download = 'discussions.json';
link.click(); link.click();
} }