v0.0.10: fix download filename — timestamp локальное время
Deploy drhider / validate (push) Waiting to run
Deploy drhider / validate (push) Waiting to run
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ if _sys_path_root not in sys.path:
|
||||
sys.path.insert(0, _sys_path_root)
|
||||
|
||||
# Версия приложения (меняется при изменениях)
|
||||
VERSION = "0.0.9"
|
||||
VERSION = "0.0.10"
|
||||
|
||||
|
||||
def create_app():
|
||||
|
||||
@@ -259,7 +259,7 @@ function downloadZip() {
|
||||
if (!currentSid) return;
|
||||
const a = document.createElement('a');
|
||||
a.href = '/api/download/' + currentSid;
|
||||
a.download = 'drhider.zip';
|
||||
a.download = 'drhider_' + ts() + '.zip';
|
||||
a.click();
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ function downloadCsv() {
|
||||
if (!currentSid) return;
|
||||
const a = document.createElement('a');
|
||||
a.href = '/api/csv/' + currentSid;
|
||||
a.download = 'mapping.csv';
|
||||
a.download = 'mapping_' + ts() + '.csv';
|
||||
a.click();
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user