v0.0.10: fix download filename — timestamp локальное время
Deploy drhider / validate (push) Waiting to run

This commit is contained in:
2026-07-13 11:09:20 +04:00
parent c878b3db1a
commit 7bdcb5b7b4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ if _sys_path_root not in sys.path:
sys.path.insert(0, _sys_path_root) sys.path.insert(0, _sys_path_root)
# Версия приложения (меняется при изменениях) # Версия приложения (меняется при изменениях)
VERSION = "0.0.9" VERSION = "0.0.10"
def create_app(): def create_app():
+2 -2
View File
@@ -259,7 +259,7 @@ function downloadZip() {
if (!currentSid) return; if (!currentSid) return;
const a = document.createElement('a'); const a = document.createElement('a');
a.href = '/api/download/' + currentSid; a.href = '/api/download/' + currentSid;
a.download = 'drhider.zip'; a.download = 'drhider_' + ts() + '.zip';
a.click(); a.click();
} }
@@ -267,7 +267,7 @@ function downloadCsv() {
if (!currentSid) return; if (!currentSid) return;
const a = document.createElement('a'); const a = document.createElement('a');
a.href = '/api/csv/' + currentSid; a.href = '/api/csv/' + currentSid;
a.download = 'mapping.csv'; a.download = 'mapping_' + ts() + '.csv';
a.click(); a.click();
} }
</script> </script>